summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-08-13 21:43:46 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-08-13 21:43:46 (GMT)
commiteff28c03b7a81e9ee37cfd6dd9284deefd1b5622 (patch)
tree5e586f3c1412bd00e15edd4e0f97ed688d026fa0 /abs/core/runit-scripts/runitscripts
parentca30de57458ef2ab90b919281b36e32847ced75e (diff)
downloadlinhes_pkgbuild-eff28c03b7a81e9ee37cfd6dd9284deefd1b5622.zip
linhes_pkgbuild-eff28c03b7a81e9ee37cfd6dd9284deefd1b5622.tar.gz
linhes_pkgbuild-eff28c03b7a81e9ee37cfd6dd9284deefd1b5622.tar.bz2
runit-scripts: add service for shellinaboxd
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/shellinaboxd/run9
1 files changed, 9 insertions, 0 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/shellinaboxd/run b/abs/core/runit-scripts/runitscripts/services/shellinaboxd/run
new file mode 100755
index 0000000..bfc6018
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/shellinaboxd/run
@@ -0,0 +1,9 @@
+#!/bin/sh
+exec 2>&1
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
+stat_runit "Starting shellinabox"
+
+
+exec su - mythtv -c "shellinaboxd -c /etc/lighttpd/"