[mythtv-users] Mythbackend randomly dies
Bobby Gill
bobbygill at rogers.com
Wed Aug 13 17:15:47 UTC 2008
Thanks a lot for the clarification fellas, I've got it working great now. My
script is
if pidof mythbackend ; then
echo "Mythbackend is running $(date +%m%d%y_%T)" >>
/home/bobby2/logs/backend.log
else
echo "Mythbackend wasn't running, restarted at $(date +%m%d%y_%T)" >>
/home/bobby2/logs/backend.log
/etc/rc.d/mythbackend restart
fi
I just added the cronjob to my /root/cron and it works great. Learn
somethin' new everyday! :)
Bob
On Wed, Aug 13, 2008 at 5:02 AM, Tino Keitel <tino.keitel at gmx.de> wrote:
> On Tue, Aug 12, 2008 at 15:49:53 -0700, Gregory K. Ruiz-Ade wrote:
> > On Aug 11, 2008, at 8:06 PM, Nick Rout wrote:
> >
> > > Oh and another option is to start out of inittab with a respawn
> > > statement, but that can be hard to stop! And occasionally you do need
> > > to stop mythbackend, to reconfigure cards or something.
> >
> >
> > I'm running myth on ubuntu (soon to migrate to a fresh install of
> > MythBuntu), and I use monit (http://www.tildeslash.com/monit/,
> > available from ubuntu via aptitude) to check that mythbackend is
>
> Doesn't Ubuntu use upstart, which comes with builtin service
> supervision? So why use stuff like monit then?
>
> Regards,
> Tino
> _______________________________________________
> 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/20080813/c1653bf6/attachment-0001.htm
More information about the mythtv-users
mailing list