diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/autotunnel@.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/system/autotunnel@.service b/system/autotunnel@.service new file mode 100644 index 0000000..405a7d7 --- /dev/null +++ b/system/autotunnel@.service @@ -0,0 +1,11 @@ +[Unit] +Description=AutoSSH managed SSH tunnel to predefined host +After=network.target + +[Service] +Environment="AUTOSSH_GATETIME=0" +EnvironmentFile=/etc/autotunnel/%I.conf +ExecStart=/usr/lib/systemd/scripts/autotunnel + +[Install] +WantedBy=multi-user.target |