[mythtv-users] Backend Crashes / Status Monitoring
Graham Dunn
graham.dunn at leitch.com
Tue Mar 22 20:45:13 UTC 2005
On Tue, Mar 22, 2005 at 08:42:13PM +0000, David wrote:
> Craig Partin wrote:
>
> >So what program do you all use to monitor the programs that watch
> >mythbackend? What if they crash? :)
> >
> >I use daemontools as well, it's quick and easy. While it is ideal to
> >troubleshoot, sometimes you just have to make sure that the wife's
> >programs record. Otherwise you get the dreaded "Why didn't we just
> >buy a regular Tivo?" and the myth budget gets slashed.
Luckily, I live in Canada, where you have to jump through more hoops
than a gentoo install of mythtv to get a Tivo working :)
> 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...
yup. This is how daemontools works, actually.
Graham
More information about the mythtv-users
mailing list