aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/contrib/systemd/osmo-bsc-mgcp.service
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-09-20 15:59:05 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-09-20 16:06:56 +0200
commit221ff66327fbbe0a0b2243e9b61626f9fdd31da8 (patch)
tree9ec9e8666366fe3cb3562f15131483fcc2721dc1 /openbsc/contrib/systemd/osmo-bsc-mgcp.service
parentbf0a7c97beb21aeb686e082329bb92a9280e8a87 (diff)
systemd: Add service units for the BSC, NITB and MGCP
Add simple systemd service units.
Diffstat (limited to 'openbsc/contrib/systemd/osmo-bsc-mgcp.service')
-rw-r--r--openbsc/contrib/systemd/osmo-bsc-mgcp.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/openbsc/contrib/systemd/osmo-bsc-mgcp.service b/openbsc/contrib/systemd/osmo-bsc-mgcp.service
new file mode 100644
index 000000000..b5e8ec3d0
--- /dev/null
+++ b/openbsc/contrib/systemd/osmo-bsc-mgcp.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=OpenBSC MGCP
+
+[Service]
+Type=simple
+Restart=always
+ExecStart=/usr/bin/osmo-bsc_mgcp -c /etc/osmocom/osmo-bsc-mgcp.cfg
+Restart=always
+RestartSec=2