osmith submitted this 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(-)
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.