[mythtv] mythbackend with inetd?
Edward Wildgoose
Edward.Wildgoose at FRMHedge.com
Mon Oct 6 12:47:57 EDT 2003
> On Mon, 2003-10-06 at 06:00, Ed Lea wrote:
> > On Mon, Oct 06, 2003 at 05:39:24AM -0400, David Muench wrote:
> > > On Mon, 2003-10-06 at 05:22, Ed Lea wrote:
> > > > Is it possible to run mythbackend with inetd? I find it crashes quite a
> > > > lot which is a pain when I'm away from a computer and my flatmates want
> > > > to record or watch something. inetd seemed to be the most sensible
> > > > solution but I can't seem to get it to work - has anyone got it working?
> > >
> > > If you're up to it, daemontools will do what you want a lot better.
> > >
> > > http://cr.yp.to/daemontools.html
> > >
> >
> > I really don't like the look of thaT
>
> Shrug. I think inetd is inappropriate for mythbackend. Daemontools will
> do exactly what you want. I used to run mythbackend in daemontools and
> it ran great. I don't in my new setup as it's been stable so I didn't
> bother. The other sensible solution would be to write some monitoring
> scripts that run from cron, check if mythbackend is running, and restart
> if not.
Can't think what would be correct bash syntax off the top of my head, but wouldn't:
while (1)
mythbackend
wend
...Work for most people?
More information about the mythtv-dev
mailing list