osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-pcu/+/34541?usp=email )


Change subject: systemd: remove RestartPreventExitStatus=1
......................................................................

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
---
M contrib/systemd/osmo-pcu.service
1 file changed, 17 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/41/34541/1

diff --git a/contrib/systemd/osmo-pcu.service b/contrib/systemd/osmo-pcu.service
index 5324883..f688d7f 100644
--- a/contrib/systemd/osmo-pcu.service
+++ b/contrib/systemd/osmo-pcu.service
@@ -10,7 +10,6 @@
 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):

--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/34541?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I061206a6f61abddfa698a4ce809afcbdf0cbce9c
Gerrit-Change-Number: 34541
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osm...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to