systemd: Do not re-start in case of exit(1) (e.g. a config issue)

This commit is contained in:
Holger Hans Peter Freyther 2014-03-21 18:18:36 +01:00
parent 59fe8f79cc
commit f81e2f7621
1 changed files with 1 additions and 0 deletions

View File

@ -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