Misleading. supervise can control any process with does not daemonize
itself or put itself in the background. Here are the contents of my
/var/qmail/rc script which specifically uses supervise. Other examples
can be found as well.
======= start of /var/qmail/rc ============
#! /bin/sh
# Using cyclog to log the messages
# Using dot-forward to support sendmail-style ~/.forward files.
# Using qmail-local to deliver messages to ~/Maildir/ by default.
exec env - PATH="/var/qmail/bin:$PATH" \
/usr/local/bin/supervise /var/run/qmail qmail-start '|dot-forward .forward
./Maildir/' /usr/local/bin/accustamp | \
/usr/local/bin/setuser qmaill \
/usr/local/bin/cyclog -s10000000 -n200 /var/adm/qmail
======= end of /var/qmail/rc ==============
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.
On Thu, 7 Oct 1999, Petr Novotny wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 7 Oct 99, at 9:09, Dave Sill wrote:
> > >Would there be any reason not to use supervise for qmail-start?
> >
> > I can't think of a good reason not to.
>
> Um, like, qmail-start only spawns a few daemons and then goes
> away, doesn't it? Definitely I can't see it running around my
> machine. Therefore you can't supervise it - supervise works on
> daemons, not on daemon-spawners.
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.0.2 -- QDPGP 2.60
> Comment: http://community.wow.net/grt/qdpgp.html
>
> iQA/AwUBN/ys51MwP8g7qbw/EQKhnwCfSOo3FFRGT/nevFtTp4n5YPsA1EgAoNdC
> WRTiOiahEO8cqLBfTvSYJybg
> =r5Sy
> -----END PGP SIGNATURE-----
> --
> Petr Novotny, ANTEK CS
> [EMAIL PROTECTED]
> http://www.antek.cz
> PGP key ID: 0x3BA9BC3F
> -- Don't you know there ain't no devil there's just God when he's drunk.
> [Tom Waits]
>
---------------------------------
Timothy L. Mayo mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/
The National Business Network Inc. http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA 15146
(412) 810-8888 Phone
(412) 810-8886 Fax