diff options
author | Alex Auvolat <alex@adnab.me> | 2023-01-17 12:33:50 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-01-17 12:33:50 +0100 |
commit | eaf6d5b07bcdd9a3eb9bfdac93566b7432e46c37 (patch) | |
tree | 2c80bd3a4a1eda0771ec9b9caf882df95aea78a1 /lindy/systemd/secure-tunnel@.service | |
parent | 0fe1e2445f805a9558cb19540966e72a02fc5326 (diff) | |
download | user-config-eaf6d5b07bcdd9a3eb9bfdac93566b7432e46c37.tar.gz user-config-eaf6d5b07bcdd9a3eb9bfdac93566b7432e46c37.zip |
Lindy on NixOS
Diffstat (limited to 'lindy/systemd/secure-tunnel@.service')
-rw-r--r-- | lindy/systemd/secure-tunnel@.service | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lindy/systemd/secure-tunnel@.service b/lindy/systemd/secure-tunnel@.service deleted file mode 100644 index 5054dd2..0000000 --- a/lindy/systemd/secure-tunnel@.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=Setup a secure tunnel to %I -After=network.target - -[Service] -Environment="TARGET_PORT=22" -EnvironmentFile=/home/lx/.config/secure-tunnel/%i.conf -ExecStart=/usr/bin/ssh -NT -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -p ${TARGET_PORT} ${TUNNEL_DEF} ${TARGET} - -# Restart every >2 seconds to avoid StartLimitInterval failure -RestartSec=5 -Restart=always - -[Install] -WantedBy=default.target - |