[mythtv-users] Considering MythTV, curious about relativeWAF.

PAUL WILLIAMSON pwilliamson at mandtbank.com
Mon Jun 13 19:14:44 UTC 2005


>>> gavin at nodecaf.net 06/11/05 8:30 PM >>>
> >Overall my wife is marginally happy. She is terrified to touch it
> >because it crashes every time, well almost every time. So for me it
is
> >going to take time to get her more confident using it. Again, I
must
> >be the only dumbass on the list.
> 
> Nah, I'm a dumbass too... just an inventive one :)
>  
> FYI, my script is as follows;
>  
> [root at mythtv bin]# vi checkbackend.sh
> PROG=mythbackend
> STATUS=`ps -e |grep $PROG |grep -v grep | wc -l | awk '{print $1}'`
> if [ $STATUS -eq 0 ]
> then
>        ( /sbin/service $PROG start )
>        `date >> /var/log/mythtv/restartlog.log`
> fi
> exit 0
>  
> It's in /usr/local/bin and is scheduled in CRON to run every minute.

> Nice and simple.

If the backend happens to crash, do your frontends 
automatically reconnect?  Whenever my backend crashes, 
I need to tell my frontends to reconnect.

Paul



More information about the mythtv-users mailing list