On Sat, Mar 25, 2000 at 06:07:16AM -0800, John Conover wrote:
> Is there a way to run /var/qmail/rc (or qmail-start,) under supervise
> to insure they are always running?
Yep. Just do it.
I use svscan, and created a qmail directory in /service. /service/qmail/run
looks like this:
#!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" qmail-start ./Maildir/
/service/qmail/log/run looks like this:
#!/bin/sh
exec setuidgid qmaill multilog t s500000 ./main
supervise now oversees my whole qmail operation.
Chris