osmith has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-sgsn/+/33029 )
Change subject: systemd: depend on networking-online.target
......................................................................
systemd: depend on networking-online.target
Related: SYS#6400
Change-Id: Idadcbbf55e976ae035cfac4b85ccd870e0f27b82
---
M contrib/systemd/osmo-gtphub.service
M contrib/systemd/osmo-sgsn.service
2 files changed, 14 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/29/33029/1
diff --git a/contrib/systemd/osmo-gtphub.service b/contrib/systemd/osmo-gtphub.service
index 1e8f1ae..9ade246 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 30b3cda..21ecbb7 100644
--- a/contrib/systemd/osmo-sgsn.service
+++ b/contrib/systemd/osmo-sgsn.service
@@ -3,6 +3,8 @@
Wants=osmo-hlr.service
After=osmo-hlr.service
After=osmo-hnbgw.service
+After=network-online.target
+Wants=network-online.target
[Service]
Type=simple
--
To view, visit
https://gerrit.osmocom.org/c/osmo-sgsn/+/33029
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: Idadcbbf55e976ae035cfac4b85ccd870e0f27b82
Gerrit-Change-Number: 33029
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange