aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/respawn.sh4
-rw-r--r--contrib/screenrc-sysmobts3
2 files changed, 7 insertions, 0 deletions
diff --git a/contrib/respawn.sh b/contrib/respawn.sh
new file mode 100755
index 00000000..38b8ba34
--- /dev/null
+++ b/contrib/respawn.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+while [ -e /etc/passwd ]; do
+ $*
+done
diff --git a/contrib/screenrc-sysmobts b/contrib/screenrc-sysmobts
new file mode 100644
index 00000000..cedb0ded
--- /dev/null
+++ b/contrib/screenrc-sysmobts
@@ -0,0 +1,3 @@
+chdir /tmp
+screen -t BTS 0 /etc/osmocom/respawn.sh /usr/bin/sysmobts -B 127.0.0.1
+detach