"Petr Novotny" <[EMAIL PROTECTED]> writes:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 7 Oct 99, at 9:47, Timothy L. Mayo wrote:
> > Note: you will NOT find qmail-start in your process list after it
> > completes.  qmail start launches 3 other daemons and then replaces itself
> > with the qmail-send process.  It is the qmail-send process NOT qmail-start
> > itself that you need to supervise and control.
> 
> Oh this is how. I thought it spawns four daemons and exits. I 
> should read the sources more often :-)
> 
> Does that means that qmail-send remains parent for the other three 
> daemons - ie. if it dies, it takes the children to the grave too? 
> Otherwise I would think that supervise re-starting qmail-start would 
> cause some confusion...

Here's an extract from 'pstree -c' on a machine running qmail with
daemontools-0.61: 

     |-svscan-+-supervise---tcpserver
     |        |-supervise---multilog
     |        |-supervise---qmail-send-+-qmail-clean
     |        |                        |-qmail-lspawn
     |        |                        `-qmail-rspawn
     |        |-supervise---multilog
     |        |-supervise---tcpserver
     |        |-supervise---multilog
     |        |-supervise---tcpserver
     |        `-supervise---multilog

The tcpservers are listening for smtp, qmtp, pop3.

-- 
Frank Cringle,      [EMAIL PROTECTED]
voice: (+49 2304) 467101; fax: 943357

Reply via email to