summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2012-06-27 00:39:58 +0000
committerDoug Goldstein <cardoe@gentoo.org>2012-06-27 00:39:58 +0000
commit1917ba97f1ed8102f0b4baa19a8c89965454d3c3 (patch)
tree043b315579c21ca8f3e747cb4acd61650389a957 /media-tv/mythtv/files
parentFix compilation with gcc-4.7, bug 423695 (diff)
downloadgentoo-2-1917ba97f1ed8102f0b4baa19a8c89965454d3c3.tar.gz
gentoo-2-1917ba97f1ed8102f0b4baa19a8c89965454d3c3.tar.bz2
gentoo-2-1917ba97f1ed8102f0b4baa19a8c89965454d3c3.zip
Updated init script to play nice with the new daemon args. Based on work by Myk Taylor <myk002@yahoo.com>.
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'media-tv/mythtv/files')
-rw-r--r--media-tv/mythtv/files/mythbackend.conf4
-rw-r--r--media-tv/mythtv/files/mythbackend.init11
2 files changed, 7 insertions, 8 deletions
diff --git a/media-tv/mythtv/files/mythbackend.conf b/media-tv/mythtv/files/mythbackend.conf
index f9c82d22abfd..3c18c19b2477 100644
--- a/media-tv/mythtv/files/mythbackend.conf
+++ b/media-tv/mythtv/files/mythbackend.conf
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/mythbackend.conf,v 1.7 2012/06/22 03:30:50 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/mythbackend.conf,v 1.8 2012/06/27 00:39:58 cardoe Exp $
# Accepts any valid combination of logging options to mythbackend
# To get a valid list run: /usr/bin/mythbackend -v help
-#MYTHBACKEND_VERBOSE="important,general"
+#MYTHBACKEND_VERBOSE="general"
# Allows you to pass specific startup options to mythbackend
diff --git a/media-tv/mythtv/files/mythbackend.init b/media-tv/mythtv/files/mythbackend.init
index 4b3d69fe3b01..868515c8d983 100644
--- a/media-tv/mythtv/files/mythbackend.init
+++ b/media-tv/mythtv/files/mythbackend.init
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/mythbackend.init,v 1.2 2012/06/24 20:06:50 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/mythbackend.init,v 1.3 2012/06/27 00:39:58 cardoe Exp $
description="MythTV backend recording daemon"
extra_commands="resched upnprebuild"
@@ -17,7 +17,7 @@ depend() {
start() {
[ -z "${MYTHBACKEND_VERBOSE}" ] && \
- MYTHBACKEND_VERBOSE="important,general"
+ MYTHBACKEND_VERBOSE="general"
#fixes for bug #101308
unset DISPLAY
@@ -28,12 +28,11 @@ start() {
chown -R mythtv:video /home/mythtv/
ebegin "Starting MythTV Backend"
- start-stop-daemon --start --quiet -u mythtv:video \
- --exec /usr/bin/mythbackend \
+ start-stop-daemon --start --quiet --exec /usr/bin/mythbackend \
--pidfile /var/run/mythbackend.pid -- \
- --daemon --pidfile /var/run/mythbackend.pid \
+ --daemon --pidfile /var/run/mythbackend.pid --user mythtv
--verbose ${MYTHBACKEND_VERBOSE} \
- --logfile /var/log/mythtv/mythbackend.log \
+ --logpath /var/log/mythtv/ \
${MYTHBACKEND_OPTS}
eend $?
}