autossh now always restarts upon any stop event
This commit is contained in:
parent
3b2cf70c8a
commit
f3ec309421
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ Type=simple
|
||||||
User=autossh
|
User=autossh
|
||||||
Environment="AUTOSSH_GATETIME=0"
|
Environment="AUTOSSH_GATETIME=0"
|
||||||
ExecStart=/usr/bin/autossh -M 0 gateway -N
|
ExecStart=/usr/bin/autossh -M 0 gateway -N
|
||||||
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue