autossh now always restarts upon any stop event

This commit is contained in:
Philip (a-0) 2022-08-07 23:12:41 +02:00
parent 3b2cf70c8a
commit f3ec309421

View file

@ -7,6 +7,7 @@ Type=simple
User=autossh
Environment="AUTOSSH_GATETIME=0"
ExecStart=/usr/bin/autossh -M 0 gateway -N
Restart=always
[Install]
WantedBy=multi-user.target