Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
gentoo-x86 commit in media-tv/mythtv/files: mythbackend.conf mythbackend.init
Date:
Fri, 22 Jun 2012 03:30:50 +0000 (UTC)
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 $?
}