summaryrefslogtreecommitdiffstats
path: root/abs/core
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
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')
-rwxr-xr-xabs/core/runit-scripts/PKGBUILD2
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/shellinaboxd/run9
2 files changed, 10 insertions, 1 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index 1f1b02f..fdbdab1 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit-scripts
pkgver=8.0
-pkgrel=1
+pkgrel=2
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license="BSD"
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/"