mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-ggsn.git
synced 2025-10-23 08:22:07 +00:00
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:
@@ -6,3 +6,4 @@ Type=simple
|
||||
Restart=always
|
||||
ExecStart=/usr/bin/ggsn -c /etc/ggsn.conf -f
|
||||
RestartSec=2
|
||||
RestartPreventExitStatus=1
|
||||
|
Reference in New Issue
Block a user