> Okay, does the spamd script that you use set PIDFILE?
>
> -- DJ Lucas
Nope... I just copied from some of the other bootscripts... However, I had
the same problems with samba, which I'd done completely according to the
book. Here is what /etc/rc.d/init.d/spamd looks like:
#! /bin/sh
. /etc/sysconfig/rc
. $rc_functions
case "$1" in
start)
boot_mesg "Starting spamd..."
loadproc /usr/bin/spamd -x -u spamd -H /home/spamd -d
--pidfile=/var/run/spamd/spamd.pid
;;
stop)
boot_mesg "Stopping spamd..."
killproc /usr/bin/spamd
;;
reload)
boot_mesg "Reloading spamd..."
reloadproc /usr/bin/spamd
;;
restart)
$0 stop
sleep 1
$0 start
;;
status)
statusproc /usr/bin/spamd
;;
*)
echo "Usage: $0 {start|stop|reload|restart|status}"
exit 1
;;
esac
# End spamd
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page