On Mon, Mar 05, 2001 at 09:07:19AM -0500, Dave Sill wrote:
> Assuming you're running svscan on /service (not /supervise) already,
> e.g. from inittab, you could change the "start" section in the script
> to:
> 
>     echo -n "Starting qmail"
>     ln -s /var/qmail/supervise/* /service
>     echo "."
>     ;;
> 
> And the "stop" section to:
> 
>     echo -n "Stopping qmail: qmail-send qmail-smtpd"
>     svc -dx /service/qmail-send /service/qmail-smtpd
>     echo -n " logging"
>     svc -dx /service/qmail-send/log /service/qmail-smtpd/log
>     echo "."
>     ;;
>
Huh, svscan will restart Your supervise processes and services in max 5
seconds. You need to remove the links first, then -dx supervise, if You
really want to use such silly initscripts, better use svc directly.

Gerrit.
-- 
[EMAIL PROTECTED]
                                                        innominate AG
                                                 the linux architects
tel: +49.30.308806-0  fax: -77              http://www.innominate.com

Reply via email to