mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-pcu.git
synced 2025-11-03 13:43:32 +00:00
systemd: Do not re-start in case of exit(1) (e.g. a config issue)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user