osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/33014 )


Change subject: systemd: depend on networking-online.target
......................................................................

systemd: depend on networking-online.target

Related: SYS#6400
Change-Id: I9c0cc0779f9ddb7520a565668b7cde07c6ad55d8
---
M contrib/systemd/lc15bts-mgr.service
M contrib/systemd/oc2gbts-mgr.service
M contrib/systemd/osmo-bts-lc15.service
M contrib/systemd/osmo-bts-oc2g.service
M contrib/systemd/osmo-bts-sysmo.service
M contrib/systemd/osmo-bts-trx.service
M contrib/systemd/osmo-bts-virtual.service
M contrib/systemd/sysmobts-mgr.service
8 files changed, 26 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/14/33014/1

diff --git a/contrib/systemd/lc15bts-mgr.service 
b/contrib/systemd/lc15bts-mgr.service
index fbdb774..350a1a2 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 78fbcce..883e0ba 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 7cb5919..fd0760a 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 46984eb..dabb002 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 70ac8c6..09880a8 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 89dec56..9763dff 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 2befc18..dee3ab7 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 c9cbaba..ef2751c 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

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/33014
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I9c0cc0779f9ddb7520a565668b7cde07c6ad55d8
Gerrit-Change-Number: 33014
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-MessageType: newchange

Reply via email to