* [gentoo-commits] gentoo-x86 commit in media-tv/mythtv/files: mythbackend.conf mythbackend.init
@ 2012-06-22 3:30 Doug Goldstein (cardoe)
0 siblings, 0 replies; 2+ messages in thread
From: Doug Goldstein (cardoe) @ 2012-06-22 3:30 UTC (permalink / raw
To: gentoo-commits
cardoe 12/06/22 03:30:50
Added: mythbackend.conf mythbackend.init
Log:
Version bump to 0.25.1. This is still very much a Work In Progress ebuild and as such its masked.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Revision Changes Path
1.7 media-tv/mythtv/files/mythbackend.conf
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/files/mythbackend.conf?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/files/mythbackend.conf?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/files/mythbackend.conf?r1=1.6&r2=1.7
1.1 media-tv/mythtv/files/mythbackend.init
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/files/mythbackend.init?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/files/mythbackend.init?rev=1.1&content-type=text/plain
Index: mythbackend.init
===================================================================
#!/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.1 2012/06/22 03:30:50 cardoe Exp $
description="MythTV backend recording daemon"
extra_commands="resched upnprebuild"
description_resched="Forces the recording scheduler to update"
description_upnprebuild="Rebuilds the UPnP media cache"
depend() {
# mythbackend doesn't need to run on the same machine that
# mysql runs on. so its use for that reason
need net
use mysql LCDd
}
start() {
[ -z "${MYTHBACKEND_VERBOSE}" ] && \
MYTHBACKEND_VERBOSE="important,general"
#fixes for bug #101308
unset DISPLAY
unset SESSION_MANAGER
# Work around any strange permissions that may be on these files.
chown -R mythtv:video /var/log/mythtv/
chown -R mythtv:video /home/mythtv/
ebegin "Starting MythTV Backend"
start-stop-daemon --start --quiet -u mythtv:video \
--exec /usr/bin/mythbackend --
--daemon --pidfile /var/run/mythbackend.pid \
--verbose ${MYTHBACKEND_VERBOSE} \
--logfile /var/log/mythtv/mythbackend.log \
--user mythtv ${MYTHBACKEND_OPTS}
eend $?
}
stop() {
ebegin "Stopping MythTV Backend"
start-stop-daemon --stop --quiet --pidfile=/var/run/mythbackend.pid
eend $?
}
resched() {
ebegin "Updating the recording scheduler"
/usr/bin/mythbackend --resched
eend $?
}
upnprebuild() {
ebegin "Rebuilding UPnP media cache"
/usr/bin/mythbackend --upnprebuild
eend $?
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in media-tv/mythtv/files: mythbackend.conf mythbackend.init
@ 2012-06-27 0:39 Doug Goldstein (cardoe)
0 siblings, 0 replies; 2+ messages in thread
From: Doug Goldstein (cardoe) @ 2012-06-27 0:39 UTC (permalink / raw
To: gentoo-commits
cardoe 12/06/27 00:39:58
Modified: mythbackend.conf mythbackend.init
Log:
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)
Revision Changes Path
1.8 media-tv/mythtv/files/mythbackend.conf
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/files/mythbackend.conf?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/files/mythbackend.conf?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/files/mythbackend.conf?r1=1.7&r2=1.8
Index: mythbackend.conf
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/mythbackend.conf,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- mythbackend.conf 22 Jun 2012 03:30:50 -0000 1.7
+++ mythbackend.conf 27 Jun 2012 00:39:58 -0000 1.8
@@ -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
1.3 media-tv/mythtv/files/mythbackend.init
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/files/mythbackend.init?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/files/mythbackend.init?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/files/mythbackend.init?r1=1.2&r2=1.3
Index: mythbackend.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/mythbackend.init,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mythbackend.init 24 Jun 2012 20:06:50 -0000 1.2
+++ mythbackend.init 27 Jun 2012 00:39:58 -0000 1.3
@@ -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 @@
start() {
[ -z "${MYTHBACKEND_VERBOSE}" ] && \
- MYTHBACKEND_VERBOSE="important,general"
+ MYTHBACKEND_VERBOSE="general"
#fixes for bug #101308
unset DISPLAY
@@ -28,12 +28,11 @@
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 $?
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-27 0:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-22 3:30 [gentoo-commits] gentoo-x86 commit in media-tv/mythtv/files: mythbackend.conf mythbackend.init Doug Goldstein (cardoe)
-- strict thread matches above, loose matches on Subject: below --
2012-06-27 0:39 Doug Goldstein (cardoe)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox