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 24a2ac99d4)
This commit is contained in:
Oliver Smith 2023-09-27 10:15:09 +02:00
parent 0dbafde45b
commit 49a59675b1
1 changed files with 0 additions and 1 deletions

View File

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