> Here's my init script (copied from the recommended RedHat 
> script from SA
> tarball)
> 
> #!/bin/sh
> #
> # spamassassin This script starts and stops the spamd daemon
> #
> # chkconfig: 2345 80 30
> #
> # description: spamd is a daemon process which uses 
> SpamAssassin to check
> #              email messages for SPAM.  It is normally 
> called by spamc
> #            from a MDA.
> 
> # Source function library.
> . /etc/rc.d/init.d/functions
> 
> # Source networking configuration.
> . /etc/sysconfig/network
> 
> # Check that networking is up.
> [ ${NETWORKING} = "no" ] && exit 0
> 

and i make a very minor change to the init script.. not that his effects
you...

  [ ${NETWORKING} = "no" ] && exit 0
to
  [ "${NETWORKING}" = "no" ] && exit 0

just to avoid nasty messages when NETWORKING is undef.
dallas


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to