From 5bce8ee0fd68d6a9ffdbfeb92746b201dc994107 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Mon, 8 Jun 2009 19:10:12 -0700
Subject: Make the backend run as mythtv.

---
 abs/core-testing/runit-scripts/runitscripts/services/mythbackend/run | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/runit-scripts/runitscripts/services/mythbackend/run b/abs/core-testing/runit-scripts/runitscripts/services/mythbackend/run
index 51bd046..48c68d3 100755
--- a/abs/core-testing/runit-scripts/runitscripts/services/mythbackend/run
+++ b/abs/core-testing/runit-scripts/runitscripts/services/mythbackend/run
@@ -27,5 +27,5 @@ mkfifo /tmp/mbefifo >/dev/null 2>/dev/null
 # 			sleep 10
 #
 # 		else
-			exec /usr/bin/mythbackend --logfile /var/log/mythtv/mythbackend.log
+			exec su mythtv -c "/usr/bin/mythbackend --logfile /var/log/mythtv/mythbackend.log"
 # 		fi
-- 
cgit v0.12