aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2017-05-11 17:23:11 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-12 23:42:45 +0200
commitda436274bc6b96aadcf6768d49f13391c8eebd77 (patch)
treeef92f6d6e6a6062c0f1a69ea0401c46525cca27a
parentdd4e736ae0228bce768afa58770de04fefb43af2 (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