On 1/16/06, Jerry McBride <[EMAIL PROTECTED]> wrote:
On Monday 16 January 2006 01:28, Steve wrote:
> 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:
>
I took your script, emaild it to my son at home, he twiddled with it a tad bit
and...
IT WORKS!
Kinda.... :')
I took your script and had to morph it a bit to:
#!/sbin/runscript
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/
ebegin "Starting MythTV Backend"
/usr/bin/mythbackend -l /var/log/mythtv/mythbackend.log
-p /var/run/mythbackend.pid -v all -d
eend $?
}
stop () {
ebegin "Stopping MythTV Backend"
killall -2 mythbackend
rm /var/run/mythbackend.pid
eend $?
}
# end of script
When I get home tonight, I'm going to try to add the start-and-stop stuff
backinto it ad see how that effects it. Better still, I'm going to find out
why this works so well...
Thank you a million, Steve.
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
_______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
