diff options
author | Oliver Smith <osmith@sysmocom.de> | 2023-09-27 10:06:54 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2023-09-27 10:06:54 +0200 |
commit | 188f76275a2b0d64a4b1beaceb73ad89c837a607 (patch) | |
tree | 120adbb9c6d2d4ced827f5f4f3793466b0c433a5 | |
parent | ddc15996ddecfdb533d77ae45fa33587c51bb223 (diff) |
systemd: remove RestartPreventExitStatus=1
Fix OsmoBTS 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.
Partial revert of ae2473c2 ("systemd: Do not restart with a broken
config file or such").
Related: SYS#6581
Change-Id: Ieeed858c159839ebaa27b2be35a597fb86874c4b
-rw-r--r-- | contrib/systemd/osmo-bts-lc15.service | 1 | ||||
-rw-r--r-- | contrib/systemd/osmo-bts-oc2g.service | 1 | ||||
-rw-r--r-- | contrib/systemd/osmo-bts-sysmo.service | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/contrib/systemd/osmo-bts-lc15.service b/contrib/systemd/osmo-bts-lc15.service index fd0760a9..03341bd3 100644 --- a/contrib/systemd/osmo-bts-lc15.service +++ b/contrib/systemd/osmo-bts-lc15.service @@ -11,7 +11,6 @@ WorkingDirectory=%S/osmocom RuntimeDirectory=osmo-bts Restart=always RestartSec=2 -RestartPreventExitStatus=1 # CPU scheduling policy: CPUSchedulingPolicy=rr diff --git a/contrib/systemd/osmo-bts-oc2g.service b/contrib/systemd/osmo-bts-oc2g.service index dabb0029..bc64a54c 100644 --- a/contrib/systemd/osmo-bts-oc2g.service +++ b/contrib/systemd/osmo-bts-oc2g.service @@ -11,7 +11,6 @@ WorkingDirectory=%S/osmocom RuntimeDirectory=osmo-bts Restart=always RestartSec=2 -RestartPreventExitStatus=1 # CPU scheduling policy: CPUSchedulingPolicy=rr diff --git a/contrib/systemd/osmo-bts-sysmo.service b/contrib/systemd/osmo-bts-sysmo.service index 09880a81..09e91de3 100644 --- a/contrib/systemd/osmo-bts-sysmo.service +++ b/contrib/systemd/osmo-bts-sysmo.service @@ -13,7 +13,6 @@ StateDirectory=osmocom WorkingDirectory=%S/osmocom Restart=always RestartSec=2 -RestartPreventExitStatus=1 # CPU scheduling policy: CPUSchedulingPolicy=rr |