It's really not difficult, you need to add a few directories LWQ style:
/var/qmail/supervise/qmail-pop3d
/var/qmail/supervise/qmail-pop3d/log
/var/log/qmail/qmail-pop3d
Add the following files
cat /var/qmail/supervise/qmai
l-pop3d/run
#!/bin/sh
PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin:/home/vpopmail/bin
export PATH
exec tcpserver -v -H -c5 0 pop-3 qmail-popup mail.cimx.com \
vchkpw qmail-pop3d Maildir 2>&1
cat /var/qmail/supervise/qmai
l-pop3d/log/run
#!/bin/sh
PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH
exec setuidgid qmaill multilog t s200000 /var/log/qmail/pop3d
And make the following changes to your init script
pause)
echo "Pausing qmail-send"
svc -p $supervise_dir/qmail-send
echo "Pausing qmail-smtpd"
svc -p $supervise_dir/qmail-smtpd
echo "Pausing qmail-pop3d"
svc -p $supervise_dir/qmail-pop3d
;;
cont)
echo "Continuing qmail-send"
svc -c $supervise_dir/qmail-send
echo "Continuing qmail-smtpd"
svc -c $supervise_dir/qmail-smtpd
echo "Continuing qmail-pop3d"
svc -c $supervise_dir/qmail-pop3d
;;
restart)
echo "Restarting qmail:"
echo "* Stopping qmail-smtpd."
svc -d $supervise_dir/qmail-smtpd
echo "* Sending qmail-send SIGTERM and restarting."
svc -t $supervise_dir/qmail-send
echo "* Restarting qmail-smtpd."
svc -u $supervise_dir/qmail-smtpd
echo "* Restarting qmail-pop3d."
svc -u $supervise_dir/qmail-pop3d
;;
-----Original Message-----
From: Todd A. Jacobs [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 09, 2001 5:59 PM
To: qmail list
Subject: supervised pop3d
Does anyone have an example of calling pop3d from the supervise startup
script (/etc/init.d/qmail) from LWQ? I'd really like to run it supervised,
if possible.
--
Todd A. Jacobs
CodeGnome Consulting, LTD