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