summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2017-05-11 17:23:11 +0200
committerDaniel Willmann <daniel@totalueberwachung.de>2017-05-11 17:23:11 +0200
commitbd6301813c94dd8b26a7e17cdf13eb841822b51d (patch)
treee2d6264d3b1508c49a78541838534c079b428540
parent5acffbdedaff8e402508716546686d462f085fef (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 2c81ebae5..7cebb1468 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 674d78656..bf6a8e098 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