Index: redhat-rc-script.sh =================================================================== --- redhat-rc-script.sh (revision 384918) +++ redhat-rc-script.sh (working copy) @@ -19,7 +19,7 @@ # Set default spamd configuration. SPAMDOPTIONS="-d -c -m5 -H" -SPAMD_PID=/var/run/spamassassin/spamd.pid +SPAMD_PID=/var/run/spamd.pid # Source spamd configuration. if [ -f /etc/sysconfig/spamassassin ] ; then @@ -41,7 +41,6 @@ RETVAL=$? echo if [ $RETVAL = 0 ]; then - [ -n "$SPAMD_PID" ] && ln -s $SPAMD_PID /var/run/spamd.pid touch /var/lock/subsys/spamassassin fi ;; @@ -53,7 +52,7 @@ echo if [ $RETVAL = 0 ]; then rm -f /var/lock/subsys/spamassassin - rm -f /var/run/spamd.pid + rm -f $SPAMD_PID fi ;; restart)