9
0
Fork 0

systemd: Do not restart when the application exits with 1

This is the case of a wrong config or failure to create a tunnel
This commit is contained in:
Holger Hans Peter Freyther 2014-03-21 17:57:42 +01:00
parent 29567ed125
commit 4afb44a25e
1 changed files with 1 additions and 0 deletions

View File

@ -6,3 +6,4 @@ Type=simple
Restart=always
ExecStart=/usr/bin/ggsn -c /etc/ggsn.conf -f
RestartSec=2
RestartPreventExitStatus=1