aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/systemd
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2023-05-26 14:10:44 +0200
committerOliver Smith <osmith@sysmocom.de>2023-05-26 14:10:44 +0200
commit05b46291669cbe8797279c9580098057c5c734a4 (patch)
tree063a572a8f75e9f9370b62030bf412c035f214be /contrib/systemd
parent9cc85c1a6a89ca1027deb999f0937c5c84515683 (diff)
systemd: depend on networking-online.target
Diffstat (limited to 'contrib/systemd')
-rw-r--r--contrib/systemd/lc15bts-mgr.service2
-rw-r--r--contrib/systemd/oc2gbts-mgr.service2
-rw-r--r--contrib/systemd/osmo-bts-lc15.service2
-rw-r--r--contrib/systemd/osmo-bts-oc2g.service2
-rw-r--r--contrib/systemd/osmo-bts-sysmo.service2
-rw-r--r--contrib/systemd/osmo-bts-trx.service2
-rw-r--r--contrib/systemd/osmo-bts-virtual.service2
-rw-r--r--contrib/systemd/sysmobts-mgr.service2
8 files changed, 16 insertions, 0 deletions
diff --git a/contrib/systemd/lc15bts-mgr.service b/contrib/systemd/lc15bts-mgr.service
index fbdb774c..350a1a24 100644
--- a/contrib/systemd/lc15bts-mgr.service
+++ b/contrib/systemd/lc15bts-mgr.service
@@ -2,6 +2,8 @@
Description=osmo-bts manager for LC15 / sysmoBTS 2100
After=lc15-sysdev-remap.service
Wants=lc15-sysdev-remap.service
+After=network-online.target
+Wants=network-online.target
[Service]
Type=simple
diff --git a/contrib/systemd/oc2gbts-mgr.service b/contrib/systemd/oc2gbts-mgr.service
index 78fbccef..883e0ba0 100644
--- a/contrib/systemd/oc2gbts-mgr.service
+++ b/contrib/systemd/oc2gbts-mgr.service
@@ -2,6 +2,8 @@
Description=osmo-bts manager for OC-2G
After=oc2g-sysdev-remap.service
Wants=oc2g-sysdev-remap.service
+After=network-online.target
+Wants=network-online.target
[Service]
Type=simple
diff --git a/contrib/systemd/osmo-bts-lc15.service b/contrib/systemd/osmo-bts-lc15.service
index 7cb59198..fd0760a9 100644
--- a/contrib/systemd/osmo-bts-lc15.service
+++ b/contrib/systemd/osmo-bts-lc15.service
@@ -1,5 +1,7 @@
[Unit]
Description=osmo-bts for LC15 / sysmoBTS 2100
+After=network-online.target
+Wants=network-online.target
[Service]
Type=simple
diff --git a/contrib/systemd/osmo-bts-oc2g.service b/contrib/systemd/osmo-bts-oc2g.service
index 46984ebc..dabb0029 100644
--- a/contrib/systemd/osmo-bts-oc2g.service
+++ b/contrib/systemd/osmo-bts-oc2g.service
@@ -1,5 +1,7 @@
[Unit]
Description=osmo-bts for OC-2G
+After=network-online.target
+Wants=network-online.target
[Service]
Type=simple
diff --git a/contrib/systemd/osmo-bts-sysmo.service b/contrib/systemd/osmo-bts-sysmo.service
index 70ac8c6c..09880a81 100644
--- a/contrib/systemd/osmo-bts-sysmo.service
+++ b/contrib/systemd/osmo-bts-sysmo.service
@@ -1,5 +1,7 @@
[Unit]
Description=osmo-bts for sysmocom sysmoBTS
+After=network-online.target
+Wants=network-online.target
[Service]
Type=simple
diff --git a/contrib/systemd/osmo-bts-trx.service b/contrib/systemd/osmo-bts-trx.service
index 89dec56e..9763dff8 100644
--- a/contrib/systemd/osmo-bts-trx.service
+++ b/contrib/systemd/osmo-bts-trx.service
@@ -1,5 +1,7 @@
[Unit]
Description=Osmocom osmo-bts for osmo-trx
+After=network-online.target
+Wants=network-online.target
[Service]
Type=simple
diff --git a/contrib/systemd/osmo-bts-virtual.service b/contrib/systemd/osmo-bts-virtual.service
index 2befc188..dee3ab7f 100644
--- a/contrib/systemd/osmo-bts-virtual.service
+++ b/contrib/systemd/osmo-bts-virtual.service
@@ -1,5 +1,7 @@
[Unit]
Description=Osmocom GSM BTS for virtual Um layer based on GSMTAP/UDP
+After=network-online.target
+Wants=network-online.target
[Service]
Type=simple
diff --git a/contrib/systemd/sysmobts-mgr.service b/contrib/systemd/sysmobts-mgr.service
index c9cbabac..ef2751c7 100644
--- a/contrib/systemd/sysmobts-mgr.service
+++ b/contrib/systemd/sysmobts-mgr.service
@@ -1,5 +1,7 @@
[Unit]
Description=osmo-bts manager for sysmoBTS
+After=network-online.target
+Wants=network-online.target
[Service]
Type=simple