aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/contrib/systemd/osmo-bsc-mgcp.service
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2014-08-20 15:13:56 +0200
committerDaniel Willmann <daniel@totalueberwachung.de>2014-08-21 10:19:50 +0200
commit0e167fc9740793cf4a3c82747919146073255486 (patch)
treea690b79ba3d02ab11becf1066a9029b6a62dc3e1 /openbsc/contrib/systemd/osmo-bsc-mgcp.service
parent248b38539da2d78ec626265702b474d36b0aa012 (diff)
systemd: Add Install section to service files
That way the services can be enabled with > systemctl enable <service>
Diffstat (limited to 'openbsc/contrib/systemd/osmo-bsc-mgcp.service')
-rw-r--r--openbsc/contrib/systemd/osmo-bsc-mgcp.service3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/contrib/systemd/osmo-bsc-mgcp.service b/openbsc/contrib/systemd/osmo-bsc-mgcp.service
index 7fa2ec0a9..c040e6078 100644
--- a/openbsc/contrib/systemd/osmo-bsc-mgcp.service
+++ b/openbsc/contrib/systemd/osmo-bsc-mgcp.service
@@ -6,3 +6,6 @@ Type=simple
Restart=always
ExecStart=/usr/bin/osmo-bsc_mgcp -s -c /etc/osmocom/osmo-bsc-mgcp.cfg
RestartSec=2
+
+[Install]
+WantedBy=multi-user.target