On Thursday 17 July 2003 21:33 CET Michael Weber wrote:
> I have a pid file running with my SA.  It is a very minor hack to the
> /etc/init.d/spamd file.  Look for the two lines that reference
> /var/run/spamd.pid and add them to your spamd (or spamassassin) init
> file.
>
> case "$1" in
>   start)
>         # Start daemon.
>         echo -n "Starting spamd: "
>         daemon spamd $OPTIONS
>         RETVAL=$?
>         echo
>         echo `pidof spamd` > /var/run/spamd.pid
>         [ $RETVAL = 0 ] && touch /var/lock/subsys/spamd
>         ;;

Yepp, why taking the easy way if there's a more complicated one? ;-)
OPTIONS="-r /var/run/spamd.pid" is the solution.

Cheers,
Malte



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to