Added: Process id to log.

Added: Max workers to all .envs
Added: Leardall service
Added: beacon redis tunnel
This commit is contained in:
2022-04-16 17:28:00 +05:30
parent 1a8992c296
commit a213c1a0b5
6 changed files with 37 additions and 3 deletions

View File

@ -0,0 +1,15 @@
[Unit]
Description=Keep ssh tunnel to specified remote host open
After=network.target
[Service]
User=pi
ExecStart=/usr/bin/ssh -NT -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -o ServerAliveCountMax=3 -o StrictHostKeyChecking=no -i /home/pi/.ssh/id_rsa -L 6379:localhost:6379 tanshu@beacon.tanshu.com
# Restart every >2 seconds to avoid StartLimitInterval failure
RestartSec=5
Restart=always
[Install]
WantedBy=multi-user.target