1 --- spamd/pld-rc-script.sh.old Sun Sep 8 17:41:55 2002
2 +++ spamd/pld-rc-script.sh Sun Sep 8 17:42:27 2002
5 # chkconfig: 2345 80 30
7 -# description: spamd is a daemon process which uses SpamAssassin to check
8 -# email messages for SPAM. It is normally called by spamc
10 -# processname: spamassassin
11 -# pidfile: /var/run/spamassassin.pid
12 +# description: spamd is a daemon process which uses SpamAssassin to check \
13 +# email messages for SPAM. It is normally called by spamc \
15 +# processname: spamassassin
16 +# pidfile: /var/run/spamassassin.pid
18 # Source function library.
19 . /etc/rc.d/init.d/functions
22 if [ ! -f /var/lock/subsys/spamd ]; then
23 msg_starting SpamAssassin
24 - daemon spamd -d -c -a
25 + daemon spamd $SPAMD_OPTS
27 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/spamd
32 if [ -f /var/lock/subsys/spamd ]; then
33 - echo -n "Shutting down spamd: "
34 + msg_stopping SpamAssassin
37 rm -f /var/lock/subsys/spamd
39 - msg_Already_Running SpamAssassin
40 + msg_Not_Running SpamAssassin