I have the same problem. What part and where of the script are you saying to
place an "exec" at?

Chris Johnson wrote:

> On Thu, Jun 22, 2000 at 04:34:31AM -0500, Jud Harris wrote:
> > My problem: pop3d, run via tcpserver, fails to shut down when supervised
> >
> > Script contents follow:
> >
> > /etc/rc.d/init.d/qmail
> > ----------------------
> > #!/bin/sh -e
> > # /etc/init.d/qmail : start or stop the qmail mail subsystem.
> > # borrowed from http://Web.InfoAve.Net/~dsill/lwq.html#start-qmail
> > # modified by Adam McKenna <[EMAIL PROTECTED]>
> >
> > PATH=$PATH:/usr/local/bin:/var/qmail/bin
> >
> > case "$1" in
> >     start)
> >         echo -n "Starting mail-transport-agent:"
> >         svc -u /var/qmail/supervise/*
> >         echo -n " qmail"
> >         svc -u /var/qmail/supervise/*/log
> >         echo " logging."
> >         ;;
> >     stop)
> >         echo -n "Stopping mail-transport-agent: "
> >         echo -n " qmail"
> >         svc -d /var/qmail/supervise/*
> >         echo " logging"
> >         svc -d /var/qmail/supervise/*/log
> >         ;;
> > # file truncated for brevity
> >
> > /var/qmail/supervise/qmail-pop3d/run
> > ------------------------------------
> > #!/bin/sh
> > /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
>   ^^^^
>
> Try sticking an "exec" in there, like you have in your log script.
>
> Chris

Reply via email to