From eff28c03b7a81e9ee37cfd6dd9284deefd1b5622 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 13 Aug 2013 16:43:46 -0500 Subject: runit-scripts: add service for shellinaboxd --- abs/core/runit-scripts/PKGBUILD | 2 +- abs/core/runit-scripts/runitscripts/services/shellinaboxd/run | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 abs/core/runit-scripts/runitscripts/services/shellinaboxd/run 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/" -- cgit v0.12