Aaron Bannert <[EMAIL PROTECTED]> writes:

> I think we should just fail with an error if the user wished to start
> up under daemontools mode (no_detach mode) but somehow started httpd
> as a process group leader.

Concur.

> On Mon, May 13, 2002 at 03:15:44PM -0700, [EMAIL PROTECTED] wrote:
> > In that case I'd suggest we do
> >
> >       if (setsid() fails)
> >               always log error
> >               exit(1) unless no_detach.
> 
> should that be
>         exit(1) if no_detach
> ? or do I have the logic backward?

That's correct, dirk had the test inverted.

Note that I'm not sure if httpd 2.0 is this robust in handling
setsid(2), so if we're spending the time on this and it's considered
important for 1.3, someone should probably spend some time on making
2.0 as robust.

--michael

Reply via email to