osmith has uploaded this change for review.

View Change

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(-)

git pull ssh://gerrit.osmocom.org:29418/python/osmo-python-tests refs/changes/27/33027/1
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 change 33027. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Change-Id: Ifbac18a38e086e42c67499b7818cdf08629d0000
Gerrit-Change-Number: 33027
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-MessageType: newchange