diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2012-06-27 00:39:58 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2012-06-27 00:39:58 +0000 |
commit | 1917ba97f1ed8102f0b4baa19a8c89965454d3c3 (patch) | |
tree | 043b315579c21ca8f3e747cb4acd61650389a957 /media-tv/mythtv | |
parent | Fix compilation with gcc-4.7, bug 423695 (diff) | |
download | gentoo-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')
-rw-r--r-- | media-tv/mythtv/ChangeLog | 7 | ||||
-rw-r--r-- | media-tv/mythtv/files/mythbackend.conf | 4 | ||||
-rw-r--r-- | media-tv/mythtv/files/mythbackend.init | 11 |
3 files changed, 13 insertions, 9 deletions
diff --git a/media-tv/mythtv/ChangeLog b/media-tv/mythtv/ChangeLog index a67e2bc0a1ec..8e4176154d07 100644 --- a/media-tv/mythtv/ChangeLog +++ b/media-tv/mythtv/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-tv/mythtv # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.350 2012/06/24 20:06:49 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.351 2012/06/27 00:39:58 cardoe Exp $ + + 26 Jun 2012; Doug Goldstein <cardoe@gentoo.org> files/mythbackend.conf, + files/mythbackend.init: + Updated init script to play nice with the new daemon args. Based on work by + Myk Taylor <myk002@yahoo.com>. 24 Jun 2012; Doug Goldstein <cardoe@gentoo.org> mythtv-0.25.1.ebuild, files/mythbackend.init: 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 $? } |