aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/screenrc-sysmobts1
-rw-r--r--contrib/sysmobts-mgr.service12
2 files changed, 13 insertions, 0 deletions
diff --git a/contrib/screenrc-sysmobts b/contrib/screenrc-sysmobts
index 3d0ff01f..1bd510ce 100644
--- a/contrib/screenrc-sysmobts
+++ b/contrib/screenrc-sysmobts
@@ -1,4 +1,5 @@
chdir /tmp
screen -t BTS 0 /etc/osmocom/respawn.sh /usr/bin/sysmobts -c /etc/osmocom/osmo-bts.cfg -r 1 -M
screen -t PCU 1 /etc/osmocom/respawn-only.sh /usr/bin/osmo-pcu -c /etc/osmocom/osmo-pcu.cfg -e
+screen -t MGR 2 /etc/osmocom/respawn-only.sh /usr/bin/sysmobts-mgr -n
detach
diff --git a/contrib/sysmobts-mgr.service b/contrib/sysmobts-mgr.service
new file mode 100644
index 00000000..899519f6
--- /dev/null
+++ b/contrib/sysmobts-mgr.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=sysmocom sysmoBTS manager
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/sysmobts-mgr -n
+Restart=always
+RestartSec=2
+
+[Install]
+WantedBy=multi-user.target
+