summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts/runitscripts/services/mythbackend
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-04-10 16:44:42 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-04-10 16:44:42 (GMT)
commit5e80643fcd0df6419f18bccba6594a251eb2d179 (patch)
tree02eba330ea85211042a4fa4fcb0c9147c77d3e8a /abs/core-testing/runit-scripts/runitscripts/services/mythbackend
parent6a486a28262c43e8ae2c1a742b4ffd4b29eaf0d0 (diff)
downloadlinhes_pkgbuild-5e80643fcd0df6419f18bccba6594a251eb2d179.zip
linhes_pkgbuild-5e80643fcd0df6419f18bccba6594a251eb2d179.tar.gz
linhes_pkgbuild-5e80643fcd0df6419f18bccba6594a251eb2d179.tar.bz2
runit-scripts: added fbsplash-runit.sh and general cleanup to make text pretty
Diffstat (limited to 'abs/core-testing/runit-scripts/runitscripts/services/mythbackend')
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/services/mythbackend/log/run6
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/services/mythbackend/run8
2 files changed, 12 insertions, 2 deletions
diff --git a/abs/core-testing/runit-scripts/runitscripts/services/mythbackend/log/run b/abs/core-testing/runit-scripts/runitscripts/services/mythbackend/log/run
index 6ed5184..17692a7 100755
--- a/abs/core-testing/runit-scripts/runitscripts/services/mythbackend/log/run
+++ b/abs/core-testing/runit-scripts/runitscripts/services/mythbackend/log/run
@@ -1,4 +1,8 @@
#!/bin/sh
exec 2>&1
- /usr/bin/logger -p local7.info -t mythbackend
+#export TERM=linux
+#. /etc/rc.conf
+#. /etc/rc.d/functions
+#stat_runit "Starting MythBackend logger"
+/usr/bin/logger -p local7.info -t mythbackend
diff --git a/abs/core-testing/runit-scripts/runitscripts/services/mythbackend/run b/abs/core-testing/runit-scripts/runitscripts/services/mythbackend/run
index d540e39..51bd046 100755
--- a/abs/core-testing/runit-scripts/runitscripts/services/mythbackend/run
+++ b/abs/core-testing/runit-scripts/runitscripts/services/mythbackend/run
@@ -2,15 +2,21 @@
exec 2>&1
. /etc/profile
. /etc/systemconfig
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+stat_runit "Starting MythBackend"
export HOME=/root
if [ ! x$SystemType = xSlave_backend ]
then
sv start mysql > /dev/null 2>/dev/null
#run mythfilldatabase
+ printhl " Running mythfilldatabase"
/usr/MythVantage/bin/initial_db_run &
fi
mkfifo /tmp/mbefifo >/dev/null 2>/dev/null
-echo "Starting mythbackend"
+#echo "Starting mythbackend"
# if [ -f /tmp/debug ]
# then
# echo "using gbd/debug"