diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-08-13 21:43:46 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-08-13 21:43:46 (GMT) |
commit | eff28c03b7a81e9ee37cfd6dd9284deefd1b5622 (patch) | |
tree | 5e586f3c1412bd00e15edd4e0f97ed688d026fa0 | |
parent | ca30de57458ef2ab90b919281b36e32847ced75e (diff) | |
download | linhes_pkgbuild-eff28c03b7a81e9ee37cfd6dd9284deefd1b5622.zip linhes_pkgbuild-eff28c03b7a81e9ee37cfd6dd9284deefd1b5622.tar.gz linhes_pkgbuild-eff28c03b7a81e9ee37cfd6dd9284deefd1b5622.tar.bz2 |
runit-scripts: add service for shellinaboxd
-rwxr-xr-x | abs/core/runit-scripts/PKGBUILD | 2 | ||||
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/shellinaboxd/run | 9 |
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/" |