[mythtv-users] Backend Crashes / Status Monitoring

David myth at dgreaves.com
Wed Mar 23 09:24:26 UTC 2005


well,
  man init
and
  man inittab
are good :)

You say:

>     My /etc/inittab file calls up a script   ( 
> /etc/rc.d/rc3.d/S86mythbackend )  to start the backend.

surely that's not on a line by itself?
My reading of the manpage suggests that that would be an error...


You would just edit the file, and add the line I mention below pretty 
much anywhere.

David
PS, notice it has respawn in the line itself - that's what I meant...
Let me know if you have problems.

Dave Ansell wrote:

> David,
>
>     Sorry, but I am not that familiar with the workings of inittab.
>     My /etc/inittab file calls up a script   ( 
> /etc/rc.d/rc3.d/S86mythbackend )  to start the backend.
>     Where exactly do I put the respawn option?
>
>
>> Fair question :)
>>
>> The answer is 'init' via 'inittab'
>>
>> use the respawn option and it will...
>>
>> moni:235:respawn:/usr/sbin/monit
>>
>> (however make sure you get the config right first!)
>>
>> If init crashes then you've got problems...
>>
>>
>> David
>>
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>



More information about the mythtv-users mailing list