[mythtv-users] Nearly 100% install of MYTHYV...
Steve
stgarf at gmail.com
Mon Jan 16 06:28:29 UTC 2006
I had this exact same problem with my backend and I simply changed my init
script around a bit to look like this, try it out for yourself:
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/mythbackend-
0.18.2.rc,v 1.1 2005/12/26 09:15:30 cardoe Exp $
depend() {
need net
use mysql
}
start() {
[[ -z "${MYTH_VERBOSE}" ]] && MYTH_VERBOSE="none"
QTDIR=/usr/qt/3
#fixes for bug #101308
unset DISPLAY
unset SESSION_MANAGER
# Work around any strange permissions that may be on these files.
chown -R mythtv /var/log/mythtv/
# chown -R mythtv /etc/mythtv/
ebegin "Starting MythTV Backend"
# /usr/bin/mythbackend -l /var/log/mythtv/mythbackend.log -p
/var/run/mythbackend.pid -v important,general,record -d
/usr/local/bin/mythbackend -l /var/log/mythtv/mythbackend.log -p
/var/run/mythbackend.pid -v important,general,record -d
eend $?
}
stop () {
ebegin "Stopping MythTV Backend"
start-stop-daemon --stop --pidfile=/var/run/mythbackend.pid
eend $?
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060116/0219a15d/attachment.htm
More information about the mythtv-users
mailing list