aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2023-05-26 14:10:46 +0200
committerOliver Smith <osmith@sysmocom.de>2023-05-26 14:10:46 +0200
commit2ec703f7c8a94e25677fde1b1d1a430696fb97e2 (patch)
tree768505ddedc47bfb72034b1f23c2d2c5dcd2191d
parentb8d16e4e44b722a5c3dfc65cf546b6aa18580fcc (diff)
systemd: depend on networking-online.target
-rw-r--r--contrib/systemd/osmo-pcap-client.service2
-rw-r--r--contrib/systemd/osmo-pcap-server.service2
2 files changed, 4 insertions, 0 deletions
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