osmith has submitted this change. ( 
https://gerrit.osmocom.org/c/python/osmo-python-tests/+/33027 )

Change subject: systemd: depend on networking-online.target
......................................................................

systemd: depend on networking-online.target

Related: SYS#6400
Change-Id: Ifbac18a38e086e42c67499b7818cdf08629d0000
---
M contrib/systemd/osmo-ctrl2cgi.service
M contrib/systemd/osmo-trap2cgi.service
2 files changed, 14 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved




diff --git a/contrib/systemd/osmo-ctrl2cgi.service 
b/contrib/systemd/osmo-ctrl2cgi.service
index f82e1e9..da1faa7 100644
--- a/contrib/systemd/osmo-ctrl2cgi.service
+++ b/contrib/systemd/osmo-ctrl2cgi.service
@@ -1,5 +1,7 @@
 [Unit]
 Description=Proxy between given GCI service and Osmocom CTRL protocol
+After=network-online.target
+Wants=network-online.target

 [Service]
 Type=simple
diff --git a/contrib/systemd/osmo-trap2cgi.service 
b/contrib/systemd/osmo-trap2cgi.service
index 8122790..459d6cd 100644
--- a/contrib/systemd/osmo-trap2cgi.service
+++ b/contrib/systemd/osmo-trap2cgi.service
@@ -1,5 +1,7 @@
 [Unit]
 Description=Proxy between given GCI service and Osmocom CTRL protocol
+After=network-online.target
+Wants=network-online.target

 [Service]
 Type=simple

--
To view, visit https://gerrit.osmocom.org/c/python/osmo-python-tests/+/33027
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Change-Id: Ifbac18a38e086e42c67499b7818cdf08629d0000
Gerrit-Change-Number: 33027
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to