summaryrefslogtreecommitdiff
path: root/lindy/old/systemd/secure-tunnel@.service
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-01-17 12:45:46 +0100
committerAlex Auvolat <alex@adnab.me>2023-01-17 12:45:46 +0100
commitd47dd5aa3882aea1a8eff4fb9faa4881274559dc (patch)
treeb438c8fb8953b84614c170a5278ae72ece90bb68 /lindy/old/systemd/secure-tunnel@.service
parenteaf6d5b07bcdd9a3eb9bfdac93566b7432e46c37 (diff)
downloaduser-config-d47dd5aa3882aea1a8eff4fb9faa4881274559dc.tar.gz
user-config-d47dd5aa3882aea1a8eff4fb9faa4881274559dc.zip
Unify things and rename things
Diffstat (limited to 'lindy/old/systemd/secure-tunnel@.service')
-rw-r--r--lindy/old/systemd/secure-tunnel@.service16
1 files changed, 0 insertions, 16 deletions
diff --git a/lindy/old/systemd/secure-tunnel@.service b/lindy/old/systemd/secure-tunnel@.service
deleted file mode 100644
index 5054dd2..0000000
--- a/lindy/old/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
-