diff options
author | Oliver Smith <osmith@sysmocom.de> | 2023-05-26 14:10:48 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2023-05-26 15:00:44 +0200 |
commit | ed959ad0af3bff75f03ca89ce380d3093a1bcca3 (patch) | |
tree | 46b6e6778ed24ea7bb13369763198e5b3a033190 | |
parent | 8c42673eba10c5f762680c250f795d321b1df81e (diff) |
systemd: depend on networking-online.target
Related: SYS#6400
Change-Id: Idadcbbf55e976ae035cfac4b85ccd870e0f27b82
-rw-r--r-- | contrib/systemd/osmo-gtphub.service | 2 | ||||
-rw-r--r-- | contrib/systemd/osmo-sgsn.service | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/contrib/systemd/osmo-gtphub.service b/contrib/systemd/osmo-gtphub.service index 1e8f1ae8c..9ade246d4 100644 --- a/contrib/systemd/osmo-gtphub.service +++ b/contrib/systemd/osmo-gtphub.service @@ -1,5 +1,7 @@ [Unit] Description=Osmocom GTP Hub +After=network-online.target +Wants=network-online.target [Service] Type=simple diff --git a/contrib/systemd/osmo-sgsn.service b/contrib/systemd/osmo-sgsn.service index 30b3cda76..21ecbb752 100644 --- a/contrib/systemd/osmo-sgsn.service +++ b/contrib/systemd/osmo-sgsn.service @@ -3,6 +3,8 @@ Description=Osmocom SGSN (Serving GPRS Support Node) Wants=osmo-hlr.service After=osmo-hlr.service After=osmo-hnbgw.service +After=network-online.target +Wants=network-online.target [Service] Type=simple |