Make tunnel more robust
This commit is contained in:
parent
c7f4934014
commit
949b2683a0
1 changed files with 2 additions and 1 deletions
|
|
@ -7,8 +7,9 @@ After=network-online.target
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=ssh plugh@plugh.de -NR 8005:localhost:8001
|
||||
ExecStart=ssh plugh@plugh.de -NR 8005:localhost:8001 -o ExitOnForwardFailure=yes
|
||||
Restart=on-failure
|
||||
RestartSec=1min
|
||||
|
||||
User=bondrucker
|
||||
Group=bondrucker
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue