aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-21 18:18:36 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-21 18:18:36 +0100
commitf81e2f7621c9bc6866035cb47ac09adab4897b55 (patch)
tree3adeebda790f406b898d5b42ad4f2d28ad639313 /contrib
parent59fe8f79ccf3c0434fca90089a2a6bab64205d87 (diff)
systemd: Do not re-start in case of exit(1) (e.g. a config issue)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sysmopcu.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/sysmopcu.service b/contrib/sysmopcu.service
index 89c75db..d4585cc 100644
--- a/contrib/sysmopcu.service
+++ b/contrib/sysmopcu.service
@@ -6,6 +6,7 @@ Type=simple
ExecStart=/usr/bin/osmo-pcu -c /etc/osmocom/osmo-pcu.cfg -e
Restart=always
RestartSec=2
+RestartPreventExitStatus=1
# The msg queues must be read fast enough
CPUSchedulingPolicy=rr