[mythtv-users] Nearly 100% install of MYTHYV...

Steve stgarf at gmail.com
Mon Jan 16 23:23:39 UTC 2006


Heh, no problem... Glad to help because this exact same problem was giving
me nothing but trouble and for weeks I was starting mythbackend manually so
I decided I should do something about it.

On 1/16/06, Jerry McBride <mcbrides9 at comcast.net> 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
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060116/3dcec3c8/attachment.htm


More information about the mythtv-users mailing list