Browse Source

added ExecuteStop command to systemd unit file

master
Gerhard 2 years ago
parent
commit
e76a234361
  1. 1
      ssh-tunnel-manager.service

1
ssh-tunnel-manager.service

@ -7,6 +7,7 @@ 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

Loading…
Cancel
Save