forked from cellular-infrastructure/osmo-pcu
systemd: Do not re-start in case of exit(1) (e.g. a config issue)
This commit is contained in:
parent
59fe8f79cc
commit
f81e2f7621
|
@ -6,6 +6,7 @@ Type=simple
|
||||||
ExecStart=/usr/bin/osmo-pcu -c /etc/osmocom/osmo-pcu.cfg -e
|
ExecStart=/usr/bin/osmo-pcu -c /etc/osmocom/osmo-pcu.cfg -e
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=2
|
RestartSec=2
|
||||||
|
RestartPreventExitStatus=1
|
||||||
|
|
||||||
# The msg queues must be read fast enough
|
# The msg queues must be read fast enough
|
||||||
CPUSchedulingPolicy=rr
|
CPUSchedulingPolicy=rr
|
||||||
|
|
Loading…
Reference in New Issue