From 8ae3e21c370d8a60b4572f35ea8d1654bc197f9f Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 11 Dec 2013 16:00:21 +0000
Subject: runit-scripts: msg_daemon run: add exec env to allow runit to control
 the service

---
 abs/core/runit-scripts/PKGBUILD                             | 2 +-
 abs/core/runit-scripts/runitscripts/services/msg_daemon/run | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index 1f1c12c..7c4de92 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=runit-scripts
 pkgver=8.1
-pkgrel=3
+pkgrel=4
 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 76bb702..6f1b4b7 100755
--- a/abs/core/runit-scripts/runitscripts/services/msg_daemon/run
+++ b/abs/core/runit-scripts/runitscripts/services/msg_daemon/run
@@ -5,4 +5,5 @@ export TERM=linux
 . /etc/rc.d/functions
 . /etc/profile
 stat_runit "Starting osd message daemon"
-DISPLAY=127.0.0.1:0 /usr/LH/bin/msg_daemon.py
+exec env DISPLAY=127.0.0.1:0 /usr/LH/bin/msg_daemon.py
+
-- 
cgit v0.12

