From 3cd27d056e972eb6c78c76f372147e6d8c3a241b Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sun, 22 Apr 2012 16:07:23 -0500 Subject: runit-scripts: mythbackend set myth_run_status=1 so that myth_status isn't run when this service is started. --- abs/core/runit-scripts/PKGBUILD | 2 +- 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 -- cgit v0.12