aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/systemd
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2017-05-11 17:23:11 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-08-23 14:38:08 +0200
commitb81d3bdad58c5994271530ed9d124c1e816cf66d (patch)
tree04a18949774d31c1ebfd4b2fc37cc08ab293144c /contrib/systemd
parent2be19428f7060e80ea5fb815a7a01b363d1185ca (diff)
contrib: Change systemd requirements so the services connect properly
Diffstat (limited to 'contrib/systemd')
-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