commit | 4afb44a25ebe9d33886531c0a1c549d70da198bd | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Fri Mar 21 17:57:42 2014 +0100 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Fri Mar 21 18:01:07 2014 +0100 |
tree | a93618942f36b2f7968c2829508b8579b21afa04 | |
parent | 29567ed125b7e92bef8b1f1de0c44c4121d63e72 [diff] |
systemd: Do not restart when the application exits with 1 This is the case of a wrong config or failure to create a tunnel
diff --git a/contrib/openggsn.service b/contrib/openggsn.service index 3b7d8cb..82f953a 100644 --- a/contrib/openggsn.service +++ b/contrib/openggsn.service
@@ -6,3 +6,4 @@ Restart=always ExecStart=/usr/bin/ggsn -c /etc/ggsn.conf -f RestartSec=2 +RestartPreventExitStatus=1