aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/contrib/systemd/osmo-bsc.service
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/contrib/systemd/osmo-bsc.service')
-rw-r--r--openbsc/contrib/systemd/osmo-bsc.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/openbsc/contrib/systemd/osmo-bsc.service b/openbsc/contrib/systemd/osmo-bsc.service
new file mode 100644
index 000000000..772d472a3
--- /dev/null
+++ b/openbsc/contrib/systemd/osmo-bsc.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=OpenBSC BSC
+Requires=osmo-bsc-mgcp.service
+
+[Service]
+Type=simple
+Restart=always
+ExecStart=/usr/bin/osmo-bsc -c /etc/osmocom/osmo-bsc.cfg -s
+Restart=always
+RestartSec=2