summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/services/mythdroid/run
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-01-26 02:18:38 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-01-26 02:18:38 (GMT)
commit55b3626309830e1301dcd66e5755a8ab2b59a4a1 (patch)
treeebb27ad59d560300c00a3a913066cba378410040 /abs/core/runit-scripts/runitscripts/services/mythdroid/run
parent7c3ce938ec4888b5a3f2736adc6b0a55808c6012 (diff)
downloadlinhes_pkgbuild-55b3626309830e1301dcd66e5755a8ab2b59a4a1.zip
linhes_pkgbuild-55b3626309830e1301dcd66e5755a8ab2b59a4a1.tar.gz
linhes_pkgbuild-55b3626309830e1301dcd66e5755a8ab2b59a4a1.tar.bz2
runit-scripts: add mythdroid (reverse-merged from commit 776f600da45e3bd07de34509624b88d6081cd4da)
runit-scripts: add mythdroid (reverse-merged from commit 9e3312aa14c7e94b95c6cceba4ae8a0610e272c7) Reverting the entire change because it introduces problems with mythbackend. Will add the mythdroid fix back in the next few commits.
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/mythdroid/run')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/mythdroid/run16
1 files changed, 0 insertions, 16 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/mythdroid/run b/abs/core/runit-scripts/runitscripts/services/mythdroid/run
deleted file mode 100755
index fa2cb48..0000000
--- a/abs/core/runit-scripts/runitscripts/services/mythdroid/run
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-[ -f /etc/conf.d/mdd.conf ] && . /etc/conf.d/mdd.conf
-
- 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