From c4b1cc7f705de9b4d539e8bba18170607e2c93f9 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Sun, 15 Apr 2012 13:08:01 -0500
Subject: runit-scripts: change mythbackend to use --logpath

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

diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index 7e0a71c..30acc6a 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=56
+pkgrel=57
 pkgdesc="collection of startup scripts for runit"
 url="http://smarden.org/runit/"
 license="BSD"
@@ -26,5 +26,6 @@ build() {
   install -m755 $startdir/src/fbsplash-runit.sh $startdir/pkg/etc/rc.d/functions.d/fbsplash-runit.sh
   install -m0755 reboot-runit halt-runit logger $startdir/pkg/sbin
   rsync -a --exclude=.svn services/* $startdir/pkg/etc/sv
+  chmod -R  755 $startdir/pkg/etc/sv
 }
 md5sums=('c79246677d5ffe687bcf6df1b9c2abc2')
diff --git a/abs/core/runit-scripts/runitscripts/services/mythbackend/run b/abs/core/runit-scripts/runitscripts/services/mythbackend/run
index e3ef721..9683dd7 100755
--- a/abs/core/runit-scripts/runitscripts/services/mythbackend/run
+++ b/abs/core/runit-scripts/runitscripts/services/mythbackend/run
@@ -39,5 +39,5 @@ fi
 # 			sleep 10
 #
 # 		else
-			exec su mythtv -c "/usr/bin/mythbackend --logfile /var/log/mythtv/mythbackend.log"
+			exec su mythtv -c "/usr/bin/mythbackend --logpath /var/log/mythtv/"
 # 		fi
-- 
cgit v0.12

