diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-15 16:07:29 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-15 16:07:29 (GMT) |
commit | 99a147b6c8075f67fd0e143e3a3065587c9dece4 (patch) | |
tree | 24a36c2ec8a670da2f83dc19ab68834967be5291 | |
parent | ed6f98d16de03a1a6511cf7cb12f5dbf0c9220e0 (diff) | |
download | linhes_pkgbuild-99a147b6c8075f67fd0e143e3a3065587c9dece4.zip linhes_pkgbuild-99a147b6c8075f67fd0e143e3a3065587c9dece4.tar.gz linhes_pkgbuild-99a147b6c8075f67fd0e143e3a3065587c9dece4.tar.bz2 |
runit-scripts: dbus frontend
dbus will now create dir if needed
frontend..changed logging name
3 files changed, 12 insertions, 1 deletions
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 |