Date: Mon, 8 Jan 2001 23:27:32 -0500 From: "shivak" <shivak@shivakaul.com> To: "freebsd-questions" <freebsd-questions@freebsd.org> Subject: peculiar rc.d behavior Message-ID: <000b01c079f4$7c3800c0$0200a8c0@taco>
next in thread | raw e-mail | index | archive | help
hi,
all my local scripts under /usr/local/etc/rc.d work fine....except for
one of them. here it is:
#!/bin/sh
case "$1" in
start ) echo "qmail-pop3d started"
tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup \
crunch.shivakaul.com \
/usr/local/bin/checkpassword /var/qmail/bin/qmail-pop3d \
Maildir 2>&1 | \
/var/qmail/bin/splogger pop3d &
echo $! > /var/run/qmail-pop3d.pid
;;
stop ) echo "qmail-pop3d stopped"
kill `cat /var/run/qmail-pop3d.pid`
rm -f /var/run/qmail-pop3d.pid
;;
* ) echo "Usage: pop3d.sh {start | stop}"
exit 1
;;
esac
for some reason, this script does not execute on boot (yeah its perms
are correct). when i manually execute it everything works fine......what
could the problem be?
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000b01c079f4$7c3800c0$0200a8c0>
