summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-04-22 21:07:23 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-04-22 21:07:23 (GMT)
commit3cd27d056e972eb6c78c76f372147e6d8c3a241b (patch)
tree63a6475229cc54f56c471fe82b583b590b27b9e1 /abs/core/runit-scripts/runitscripts
parent5e28a47c767e5fadd0bd5056d94740745875aea7 (diff)
downloadlinhes_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.
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/mythbackend/run7
1 files changed, 4 insertions, 3 deletions
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