diff options
author | James Meyer <james.meyer@operamail.com> | 2012-04-22 21:07:23 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-04-22 21:07:23 (GMT) |
commit | 3cd27d056e972eb6c78c76f372147e6d8c3a241b (patch) | |
tree | 63a6475229cc54f56c471fe82b583b590b27b9e1 | |
parent | 5e28a47c767e5fadd0bd5056d94740745875aea7 (diff) | |
download | linhes_pkgbuild-3cd27d056e972eb6c78c76f372147e6d8c3a241b.zip linhes_pkgbuild-3cd27d056e972eb6c78c76f372147e6d8c3a241b.tar.gz linhes_pkgbuild-3cd27d056e972eb6c78c76f372147e6d8c3a241b.tar.bz2 |
runit-scripts: mythbackend set myth_run_status=1 so that myth_status isn't run when this service is started.
-rwxr-xr-x | abs/core/runit-scripts/PKGBUILD | 2 | ||||
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/mythbackend/run | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD index 30acc6a..b368cd0 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=57 +pkgrel=58 pkgdesc="collection of startup scripts for runit" url="http://smarden.org/runit/" license="BSD" diff --git a/abs/core/runit-scripts/runitscripts/services/mythbackend/run b/abs/core/runit-scripts/runitscripts/services/mythbackend/run index 9683dd7..96d21ee 100755 --- a/abs/core/runit-scripts/runitscripts/services/mythbackend/run +++ b/abs/core/runit-scripts/runitscripts/services/mythbackend/run @@ -1,11 +1,12 @@ #!/bin/sh exec 2>&1 -#. /etc/profile . /etc/systemconfig export TERM=linux . /etc/rc.conf . /etc/rc.d/functions - +#profile is here to setup LC_ALL/locale +MYTH_RUN_STATUS="1" +. /etc/profile stat_runit "Scanning for new storage" @@ -39,5 +40,5 @@ fi # sleep 10 # # else - exec su mythtv -c "/usr/bin/mythbackend --logpath /var/log/mythtv/" + exec su mythtv -c "/usr/bin/mythbackend -q --logpath /var/log/mythtv/" # fi |