From 99a147b6c8075f67fd0e143e3a3065587c9dece4 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Wed, 15 Aug 2012 11:07:29 -0500
Subject: runit-scripts:   dbus frontend

dbus will now create dir if needed
frontend..changed logging name
---
 abs/core/runit-scripts/runitscripts/services/dbus/run         | 4 ++++
 abs/core/runit-scripts/runitscripts/services/frontend/log/run | 2 +-
 abs/core/runit-scripts/runitscripts/services/msg_daemon/run   | 7 +++++++
 3 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100755 abs/core/runit-scripts/runitscripts/services/msg_daemon/run

diff --git a/abs/core/runit-scripts/runitscripts/services/dbus/run b/abs/core/runit-scripts/runitscripts/services/dbus/run
index a9af150..af6ebbb 100755
--- a/abs/core/runit-scripts/runitscripts/services/dbus/run
+++ b/abs/core/runit-scripts/runitscripts/services/dbus/run
@@ -4,6 +4,10 @@ export TERM=linux
 . /etc/rc.conf
 . /etc/rc.d/functions
 stat_runit "Starting dbus"
+if [[ ! -d /run/dbus ]] 
+then
+   install -m755 -g 81 -o 81 -d /run/dbus
+fi
 
 
 exec /usr/bin/dbus-daemon --system --nofork 2>/dev/null >/dev/null
diff --git a/abs/core/runit-scripts/runitscripts/services/frontend/log/run b/abs/core/runit-scripts/runitscripts/services/frontend/log/run
index 463045f..801eaf2 100755
--- a/abs/core/runit-scripts/runitscripts/services/frontend/log/run
+++ b/abs/core/runit-scripts/runitscripts/services/frontend/log/run
@@ -1,5 +1,5 @@
 #!/bin/sh
 exec 2>&1
 . /etc/systemconfig
- /usr/bin/logger -p local6.info -t mythfrontend 
+ /usr/bin/logger -p local6.info -t frontend 
 
diff --git a/abs/core/runit-scripts/runitscripts/services/msg_daemon/run b/abs/core/runit-scripts/runitscripts/services/msg_daemon/run
new file mode 100755
index 0000000..b544550
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/msg_daemon/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
+. /etc/profile
+stat_runit "Starting osd message daemon"
+exec /usr/LH/bin/msg_daemon.py
-- 
cgit v0.12

