summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2017-05-11 17:23:11 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-06-18 17:50:08 +0200
commit139bbb9ff70b74b32bc69b4891f68409283a3654 (patch)
tree56a5ae09b7a618bafb3dd275acbd87c9d6ed1812
parent463123d5b32abe74c6cde719727384ad541d4f59 (diff)
contrib: Change systemd requirements so the services connect properly
-rw-r--r--openbsc/contrib/systemd/osmo-msc.service5
-rw-r--r--openbsc/contrib/systemd/osmo-sgsn.service3
2 files changed, 6 insertions, 2 deletions
diff --git a/openbsc/contrib/systemd/osmo-msc.service b/openbsc/contrib/systemd/osmo-msc.service
index 2c81eba..7cebb14 100644
--- a/openbsc/contrib/systemd/osmo-msc.service
+++ b/openbsc/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/openbsc/contrib/systemd/osmo-sgsn.service b/openbsc/contrib/systemd/osmo-sgsn.service
index 674d786..bf6a8e0 100644
--- a/openbsc/contrib/systemd/osmo-sgsn.service
+++ b/openbsc/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