diff options
author | David Runge <dave@sleepmap.de> | 2015-04-24 23:51:33 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2015-04-24 23:51:33 +0200 |
commit | 65552f3d26db9b2bcc0d131ddf69985670436f81 (patch) | |
tree | bb44779dab7f4238a2dc2923e56e22243b3abc20 /system/autotunnel@.service | |
parent | 86516af3b7aa46e2b3303643acdba463f42ead71 (diff) | |
download | uenv-65552f3d26db9b2bcc0d131ddf69985670436f81.tar.gz uenv-65552f3d26db9b2bcc0d131ddf69985670436f81.tar.bz2 uenv-65552f3d26db9b2bcc0d131ddf69985670436f81.tar.xz uenv-65552f3d26db9b2bcc0d131ddf69985670436f81.zip |
autotunnel: Adding example config, systemd service file and script for autossh managed SSH tunnel to predefined host
Diffstat (limited to 'system/autotunnel@.service')
-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..b128cac --- /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/tunnel-to-host + +[Install] +WantedBy=multi-user.target |