summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rwxr-xr-xabs/core/runit-scripts/PKGBUILD2
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/mythdroid/run13
2 files changed, 4 insertions, 11 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index b58966d..3ce0ad7 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit-scripts
pkgver=2.1.1
-pkgrel=50
+pkgrel=51
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license="BSD"
diff --git a/abs/core/runit-scripts/runitscripts/services/mythdroid/run b/abs/core/runit-scripts/runitscripts/services/mythdroid/run
index fa2cb48..08dda10 100755
--- a/abs/core/runit-scripts/runitscripts/services/mythdroid/run
+++ b/abs/core/runit-scripts/runitscripts/services/mythdroid/run
@@ -2,15 +2,8 @@
. /etc/rc.conf
. /etc/rc.d/functions
+[ -f /etc/mdd.conf ] && . /etc/mdd.conf
-[ -f /etc/conf.d/mdd.conf ] && . /etc/conf.d/mdd.conf
+ stat_runit "Starting MythExport daemon"
- stat_runit "Starting MythDroid daemon"
-
- /sbin/chpst -u mythtv /usr/bin/vendor_perl/mdd.pl
- PID=$(pidof -o %PPID -x /usr/bin/vendor_perl/mdd.pl)
-
-# Wait until daemon dies, else runit can't supervise us
- while [ "`pidof -o %PPID -x /usr/bin/vendor_perl/mdd.pl`" == "$PID" ]; do
- sleep 2
- done
+ exec /usr/bin/vendor_perl/mdd.pl 2>&1 /dev/null