summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/services/mythbackend
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-01 20:51:19 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-01 20:51:19 (GMT)
commit3202a396e855bfcc02a639d9b9cefd6bc44f1c40 (patch)
treea495b1d2116d9f97d3b627b45fee91decfce7e8d /abs/core/runit-scripts/runitscripts/services/mythbackend
parent1563ce5b39f113386cc32140754dfa4eafa1a597 (diff)
downloadlinhes_pkgbuild-3202a396e855bfcc02a639d9b9cefd6bc44f1c40.zip
linhes_pkgbuild-3202a396e855bfcc02a639d9b9cefd6bc44f1c40.tar.gz
linhes_pkgbuild-3202a396e855bfcc02a639d9b9cefd6bc44f1c40.tar.bz2
runit-scripts: added zoneminder
Added some svwait mysql for mythbackend and zoneminder added myth_run_status=1 for all other scripts that use /etc/profile refs #857
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/mythbackend')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/mythbackend/run7
1 files changed, 1 insertions, 6 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/mythbackend/run b/abs/core/runit-scripts/runitscripts/services/mythbackend/run
index 937b267..152beb4 100755
--- a/abs/core/runit-scripts/runitscripts/services/mythbackend/run
+++ b/abs/core/runit-scripts/runitscripts/services/mythbackend/run
@@ -5,7 +5,7 @@ export TERM=linux
. /etc/rc.conf
. /etc/rc.d/functions
#wait for mysql
-/sbin/svwaitup -s 5 /service/mysql
+/sbin/svwaitup -s 10 /service/mysql
#profile is here to setup LC_ALL/locale
MYTH_RUN_STATUS="1"
@@ -34,11 +34,6 @@ fi
stat_runit "Starting MythBackend"
export HOME=/root
-if [ ! x$SystemType = xSlave_backend ]
-then
- sv start mysql > /dev/null 2>/dev/null
-fi
-#echo "Starting mythbackend"
# if [ -f /tmp/debug ]
# then
# echo "using gbd/debug"