You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
402 B

[Unit]
Description=SSH Tunnel Manager
After=networking.target ssh.service
[Service]
Type=forking
User=ssh-tunnel-manager
Group=ssh-tunnel-manager
ExecStart=/usr/sbin/ssh-tunnel-manager --config /etc/ssh-tunnel-manager.conf start
ExecStop=/usr/sbin/ssh-tunnel-manager --config /etc/ssh-tunnel-manager.conf stop
Restart=on-failure
KillMode=mixed
KillSignal=SIGTERM
[Install]
WantedBy=multi-user.target