You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
321 B
INI
14 lines
321 B
INI
[Unit]
|
|
Description=Keeps an SSH tunnel to 'bpfilip.dk' open
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
User=root
|
|
ExecStart=/usr/bin/autossh -M 0 -N -q -o "ServerAliveInterval 60" -o "ServerAliveCountMax 3" bpfilip.dk
|
|
ExecStop=/usr/bin/killall -s KILL autossh
|
|
Restart=always
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|