aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2023-09-27 10:15:09 +0200
committerOliver Smith <osmith@sysmocom.de>2023-12-11 10:42:52 +0100
commit49a59675b1044280ee5a0e9402693bb225ef64cb (patch)
tree908445e1aeab2a05d1cb40574531ecd47c67efb0
parent0dbafde45b416eee701d70b33bee7f16483dc92c (diff)
systemd: remove RestartPreventExitStatus=1
Fix OsmoPCU not restarting if e.g. an external gsmtap IP is configured that is currently not available. Also make the service files more consistent with other Osmocom projects. Revert f81e2f76 ("systemd: Do not re-start in case of exit(1) (e.g. a config issue)"). Related: SYS#6581 Change-Id: I061206a6f61abddfa698a4ce809afcbdf0cbce9c (cherry picked from commit 24a2ac99d4fcbea18ac90ad88c6116179c5a71c2)
-rw-r--r--contrib/systemd/osmo-pcu.service1
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/systemd/osmo-pcu.service b/contrib/systemd/osmo-pcu.service
index 53248839..f688d7f3 100644
--- a/contrib/systemd/osmo-pcu.service
+++ b/contrib/systemd/osmo-pcu.service
@@ -10,7 +10,6 @@ StateDirectory=osmocom
WorkingDirectory=%S/osmocom
Restart=always
RestartSec=2
-RestartPreventExitStatus=1
# CPU scheduling policy:
CPUSchedulingPolicy=rr
# For real-time scheduling policies an integer between 1 (lowest priority) and 99 (highest priority):