osmith has uploaded this change for review.
systemd: depend on networking-online.target
Related: SYS#6400
Change-Id: Ib6c78c76c5f13b9482428ce653a61b03b2aca1d3
---
M contrib/systemd/osmo-pcap-client.service
M contrib/systemd/osmo-pcap-server.service
2 files changed, 14 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-pcap refs/changes/25/33025/1
diff --git a/contrib/systemd/osmo-pcap-client.service b/contrib/systemd/osmo-pcap-client.service
index 496358f..c79fafc 100644
--- a/contrib/systemd/osmo-pcap-client.service
+++ b/contrib/systemd/osmo-pcap-client.service
@@ -1,5 +1,7 @@
[Unit]
Description=PCAP Client for the PCAP aggregation
+After=network-online.target
+Wants=network-online.target
[Service]
Type=simple
diff --git a/contrib/systemd/osmo-pcap-server.service b/contrib/systemd/osmo-pcap-server.service
index 28345d6..a6b6822 100644
--- a/contrib/systemd/osmo-pcap-server.service
+++ b/contrib/systemd/osmo-pcap-server.service
@@ -1,5 +1,7 @@
[Unit]
Description=PCAP Server for the PCAP aggregation
+After=network-online.target
+Wants=network-online.target
[Service]
Type=simple
To view, visit change 33025. To unsubscribe, or for help writing mail filters, visit settings.