]> git.rmz.io Git - dotfiles.git/blobdiff - systemd/user/backdoor@.service
systemd: user timer to keep backdoor alive
[dotfiles.git] / systemd / user / backdoor@.service
index 087f9ccb26a9be26640132a3813fcea98af560ec..b1207dd4d446dd9a5b5e10345e824245312a667b 100644 (file)
@@ -1,13 +1,9 @@
 [Unit]
 Description=Reverse SSH Tunnel Service
 After=network.target
-StartLimitIntervalSec=30m
-StartLimitBurst=5
 
 [Service]
 ExecStart=/usr/bin/ssh -i ~/.ssh/id_ed25519_port-forward -NT -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -R 22222:localhost:22 %i
-Restart=always
-RestartSec=5m
 
 [Install]
 WantedBy=default.target