Greetings Gurus,

Allow me to preface this message by saying I've searched the archive for the
solution to this problem and have come up short.  For others with this
problem, it seems that the problem has lied with a misplaced pipe or
extraneous &, neither of which seem to be my problem.  However, I doubt I'm
immune to such an oversight, so I will include as many specifics as
possible.

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
nurelm.dynodns.
net \
/usr/local/bin/checkvpw /var/qmail/bin/qmail-pop3d Maildir 2>&1

/var/qmail/supervise/qmail-pop3d/log/run
----------------------------------------
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s1000000
/var/log/qmail-pop3d

----

So.. any idea what I'm doing wrong?  Thanks in advance for the help.  Please
let me know if more details are needed.

-Jud ([EMAIL PROTECTED])

Reply via email to