Chore: Updated bake pies to current services

This commit is contained in:
2023-08-17 22:17:09 +05:30
parent cb3657615a
commit e8a33cd80e
5 changed files with 32 additions and 31 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=30 -o ExitOnForwardFailure=yes -o ServerAliveCountMax=2 -o StrictHostKeyChecking=no -i /home/pi/.ssh/id_ed25519 -L 6379:localhost:6379 tanshu@rohan.tanshu.com
# Restart every >2 seconds to avoid StartLimitInterval failure
RestartSec=5
Restart=always
[Install]
WantedBy=multi-user.target