diff options
author | Michael Hanson <mihanson@linhes.org> | 2012-01-25 22:45:15 (GMT) |
---|---|---|
committer | Michael Hanson <mihanson@linhes.org> | 2012-01-25 22:45:15 (GMT) |
commit | 9e3312aa14c7e94b95c6cceba4ae8a0610e272c7 (patch) | |
tree | 30b795f49b275f4fdf1b39aefdad5c1dfbd0117e /abs/core/runit-scripts/runitscripts/services/mythbackend | |
parent | 98f897a6b29ef9f3a9c88a0e4d2cf49d5188b6fb (diff) | |
download | linhes_pkgbuild-9e3312aa14c7e94b95c6cceba4ae8a0610e272c7.zip linhes_pkgbuild-9e3312aa14c7e94b95c6cceba4ae8a0610e272c7.tar.gz linhes_pkgbuild-9e3312aa14c7e94b95c6cceba4ae8a0610e272c7.tar.bz2 |
runit-scripts: add mythdroid
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/mythbackend')
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/mythbackend/log/run | 8 | ||||
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/mythbackend/run | 22 |
2 files changed, 13 insertions, 17 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/mythbackend/log/run b/abs/core/runit-scripts/runitscripts/services/mythbackend/log/run new file mode 100755 index 0000000..17692a7 --- /dev/null +++ b/abs/core/runit-scripts/runitscripts/services/mythbackend/log/run @@ -0,0 +1,8 @@ +#!/bin/sh +exec 2>&1 +#export TERM=linux +#. /etc/rc.conf +#. /etc/rc.d/functions +#stat_runit "Starting MythBackend logger" +/usr/bin/logger -p local7.info -t mythbackend + diff --git a/abs/core/runit-scripts/runitscripts/services/mythbackend/run b/abs/core/runit-scripts/runitscripts/services/mythbackend/run index e3ef721..4bf54fb 100755 --- a/abs/core/runit-scripts/runitscripts/services/mythbackend/run +++ b/abs/core/runit-scripts/runitscripts/services/mythbackend/run @@ -1,33 +1,21 @@ #!/bin/sh exec 2>&1 -#. /etc/profile +. /etc/profile . /etc/systemconfig export TERM=linux . /etc/rc.conf . /etc/rc.d/functions - - -stat_runit "Scanning for new storage" -MYTHCONFDIR=/usr/share/mythtv /usr/LH/bin/add_storage.py --report > /dev/null -if [ -e /tmp/scan_report ] -then - echo "#####################################################" - echo " New storage found " - echo "" - cat /tmp/scan_report - echo "" - echo " run /usr/LH/bin/add_storage.py to make it available " - echo "#######################################################" - -fi - stat_runit "Starting MythBackend" export HOME=/root if [ ! x$SystemType = xSlave_backend ] then sv start mysql > /dev/null 2>/dev/null + #run mythfilldatabase + #printhl " Running mythfilldatabase" + #/usr/MythVantage/bin/initial_db_run & fi +mkfifo /tmp/mbefifo >/dev/null 2>/dev/null #echo "Starting mythbackend" # if [ -f /tmp/debug ] # then |