]>
Commit | Line | Data |
---|---|---|
60dd7e71 | 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 | |
60063b10 | 3 | @@ -4,11 +4,11 @@ |
4 | # | |
5 | # chkconfig: 2345 80 30 | |
6 | # | |
7 | -# description: spamd is a daemon process which uses SpamAssassin to check | |
8 | -# email messages for SPAM. It is normally called by spamc | |
9 | -# from a MDA. | |
10 | -# processname: spamassassin | |
11 | -# pidfile: /var/run/spamassassin.pid | |
ee4d8831 | 12 | +# description: spamd is a daemon process which uses SpamAssassin to check \ |
13 | +# email messages for SPAM. It is normally called by spamc \ | |
14 | +# from a MDA. | |
15 | +# processname: spamassassin | |
16 | +# pidfile: /var/run/spamassassin.pid | |
60063b10 | 17 | |
18 | # Source function library. | |
19 | . /etc/rc.d/init.d/functions | |
60dd7e71 | 20 | @@ -33,7 +33,7 @@ |
21 | # Start daemon. | |
22 | if [ ! -f /var/lock/subsys/spamd ]; then | |
23 | msg_starting SpamAssassin | |
24 | - daemon spamd -d -c -a | |
25 | + daemon spamd $SPAMD_OPTS | |
26 | RETVAL=$? | |
27 | [ $RETVAL -eq 0 ] && touch /var/lock/subsys/spamd | |
28 | else | |
60063b10 | 29 | @@ -43,12 +43,12 @@ |
30 | stop) | |
31 | # Stop daemons. | |
32 | if [ -f /var/lock/subsys/spamd ]; then | |
33 | - echo -n "Shutting down spamd: " | |
ee4d8831 | 34 | + msg_stopping SpamAssassin |
60063b10 | 35 | killproc spamd |
36 | RETVAL=$? | |
37 | rm -f /var/lock/subsys/spamd | |
38 | else | |
39 | - msg_Already_Running SpamAssassin | |
ee4d8831 | 40 | + msg_Not_Running SpamAssassin |
60063b10 | 41 | fi |
42 | ;; | |
43 | restart) |