diff options
author | James Meyer <james.meyer@operamail.com> | 2012-09-27 05:06:35 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-09-27 05:06:35 (GMT) |
commit | d5954e7d4607ad7eeffa44383ee3a7c3aaf8abb3 (patch) | |
tree | 7c26563e2f786909ce1fcb7cc7bbf0bd65dd6de1 /abs/core/runit-scripts/runitscripts | |
parent | 2549b610a84a5e17aad9d8dbc8422f0719709436 (diff) | |
download | linhes_pkgbuild-d5954e7d4607ad7eeffa44383ee3a7c3aaf8abb3.zip linhes_pkgbuild-d5954e7d4607ad7eeffa44383ee3a7c3aaf8abb3.tar.gz linhes_pkgbuild-d5954e7d4607ad7eeffa44383ee3a7c3aaf8abb3.tar.bz2 |
runit-scripts: mythbackend msg_deamon.
mythbackend, add ability to read options from file
/etc/conf.d/mythbackend
MYTH_ARGS="-q --syslog local6"
msg_deamon set DISPLAY=127.0.0.1
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/msg_daemon/run | 2 | ||||
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/mythbackend/run | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/msg_daemon/run b/abs/core/runit-scripts/runitscripts/services/msg_daemon/run index b544550..f789d0b 100755 --- a/abs/core/runit-scripts/runitscripts/services/msg_daemon/run +++ b/abs/core/runit-scripts/runitscripts/services/msg_daemon/run @@ -4,4 +4,4 @@ export TERM=linux . /etc/rc.d/functions . /etc/profile stat_runit "Starting osd message daemon" -exec /usr/LH/bin/msg_daemon.py +DISPLAY=127.0.0.1:0 /usr/LH/bin/msg_daemon.py diff --git a/abs/core/runit-scripts/runitscripts/services/mythbackend/run b/abs/core/runit-scripts/runitscripts/services/mythbackend/run index 273f655..26dca04 100755 --- a/abs/core/runit-scripts/runitscripts/services/mythbackend/run +++ b/abs/core/runit-scripts/runitscripts/services/mythbackend/run @@ -8,6 +8,12 @@ export TERM=linux MYTH_RUN_STATUS="1" . /etc/profile +MYTH_ARGS="-q --syslog local6" +[ -f /etc/conf.d/mythbackend ] && . /etc/conf.d/mythbackend + + + + stat_runit "Scanning for new storage" MYTHCONFDIR=/usr/share/mythtv /usr/LH/bin/add_storage.py --report > /dev/null |