aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2017-05-11 17:23:11 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-08-11 18:34:01 +0200
commitc7a875622a7a280dd9e8cae3df3cf3dab7d2028b (patch)
tree9b54ebc66f3527aa08e9131409045e12afed6d66
parent46d52d806bc1b253ab64e8341939a67cfa083ec1 (diff)
contrib: Change systemd requirements so the services connect properly
-rw-r--r--contrib/systemd/osmo-msc.service5
-rw-r--r--contrib/systemd/osmo-sgsn.service3
2 files changed, 6 insertions, 2 deletions
diff --git a/contrib/systemd/osmo-msc.service b/contrib/systemd/osmo-msc.service
index 2c81ebae5..7cebb1468 100644
--- a/contrib/systemd/osmo-msc.service
+++ b/contrib/systemd/osmo-msc.service
@@ -1,7 +1,8 @@
[Unit]
Description=Osmocom Mobile Switching Center (MSC)
-Wants=osmo-hlr
-After=osmo-hlr
+Wants=osmo-hlr.service
+After=osmo-hlr.service
+After=osmo-hnbgw.service
[Service]
Type=simple
diff --git a/contrib/systemd/osmo-sgsn.service b/contrib/systemd/osmo-sgsn.service
index 674d78656..bf6a8e098 100644
--- a/contrib/systemd/osmo-sgsn.service
+++ b/contrib/systemd/osmo-sgsn.service
@@ -1,5 +1,8 @@
[Unit]
Description=OpenBSC SGSN
+Wants=osmo-hlr.service
+After=osmo-hlr.service
+After=osmo-hnbgw.service
[Service]
Type=simple