From d5954e7d4607ad7eeffa44383ee3a7c3aaf8abb3 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Thu, 27 Sep 2012 00:06:35 -0500
Subject: runit-scripts:   mythbackend  msg_deamon.

mythbackend, add ability to read options from file
/etc/conf.d/mythbackend
MYTH_ARGS="-q --syslog local6"

msg_deamon  set DISPLAY=127.0.0.1
---
 abs/core/runit-scripts/PKGBUILD                              | 2 +-
 abs/core/runit-scripts/runitscripts/services/msg_daemon/run  | 2 +-
 abs/core/runit-scripts/runitscripts/services/mythbackend/run | 6 ++++++
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index f2cc893..d8acb9f 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=73
+pkgrel=75
 pkgdesc="collection of startup scripts for runit"
 url="http://smarden.org/runit/"
 license="BSD"
diff --git a/abs/core/runit-scripts/runitscripts/services/msg_daemon/run b/abs/core/runit-scripts/runitscripts/services/msg_daemon/run
index b544550..f789d0b 100755
--- a/abs/core/runit-scripts/runitscripts/services/msg_daemon/run
+++ b/abs/core/runit-scripts/runitscripts/services/msg_daemon/run
@@ -4,4 +4,4 @@ export TERM=linux
 . /etc/rc.d/functions
 . /etc/profile
 stat_runit "Starting osd message daemon"
-exec /usr/LH/bin/msg_daemon.py
+DISPLAY=127.0.0.1:0 /usr/LH/bin/msg_daemon.py
diff --git a/abs/core/runit-scripts/runitscripts/services/mythbackend/run b/abs/core/runit-scripts/runitscripts/services/mythbackend/run
index 273f655..26dca04 100755
--- a/abs/core/runit-scripts/runitscripts/services/mythbackend/run
+++ b/abs/core/runit-scripts/runitscripts/services/mythbackend/run
@@ -8,6 +8,12 @@ export TERM=linux
 MYTH_RUN_STATUS="1"
 . /etc/profile 
 
+MYTH_ARGS="-q --syslog local6"
+[ -f /etc/conf.d/mythbackend ] && . /etc/conf.d/mythbackend
+
+
+
+
 
 stat_runit "Scanning for new storage"
 MYTHCONFDIR=/usr/share/mythtv /usr/LH/bin/add_storage.py --report > /dev/null
-- 
cgit v0.12

