I have a question many of you have probably answered before.
Let me give you some info about my setup first:
qmail,vpopmail,daemontools,ucspi-tcp
I followed "Life with qmail" concerning the setup of the
/var/qmail/supervise/qmail-send and
/var/qmail/supervise/qmail-smtpd directories and they
seem to be working fine.
However, pop3d is another situation. I created a
/var/qmail/supervise/qmail-pop3d directory and added
the run file and log directory. When I issue a
/etc/rc.d/init.d/qmail start, everything seems to work
fine including pop3. When I issue a /etc/rc.d/init.d/qmail stop,
pop3 still continues on about it's business.
Below is some misc code:
/var/qmail/supervise/qmail-pop3d/run:
-------------------------------------
#!/bin/sh
/usr/local/bin/tcpserver 0 pop3 /var/qmail/bin/qmail-popup pop.linux-perl.com \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1
/etc/rc.d/init.d/qmail (snippet):
---------------------------------
...
start)
echo -n "Starting qmail: svscan"
cd /var/qmail/supervise
env - PATH="$PATH" svscan &
echo $! > /var/run/svscan.pid
echo "."
;;
stop)
echo -n "Stopping qmail: svscan"
kill `cat /var/run/svscan.pid`
echo -n " qmail"
svc -dx /var/qmail/supervise/*
echo -n " logging"
svc -dx /var/qmail/supervise/*/log
echo "."
;;
...
I hope someone can help me with this.
Thanks,
Jeff Jones