[mythtvnz] OT: monit

Nick Rout nick.rout at gmail.com
Tue Nov 27 09:58:20 GMT 2007


On Nov 27, 2007 1:58 PM, Criggie <criggie at criggie.dyndns.org> wrote:
> Nick Rout wrote:
> > OK so I am lazy, but how did you set it up for mythbackend?
> > I have the problem with it stopping sometimes too.
>
> I'm lazy too...  I just check that there is an app running with that PID.
>
> check process mythtv with pidfile /var/run/mythtv/mythbackend.pid
>    start program = "/etc/init.d/mythtv-backend restart"
>    stop program = "/etc/init.d/mythtv-backend stop"
>    if 5 restarts within 5 cycles then timeout
>

yeah i thought it would be like that. seems to work. ta.



More information about the mythtvnz mailing list