Date: Tue, 27 Feb 2007 15:38:24 +0200 From: Alexander Shikoff <minotaur@crete.org.ua> To: freebsd-rc@freebsd.org Subject: rc.subr in 6.2 RELEASE Message-ID: <20070227133824.GA49950@crete.org.ua>
next in thread | raw e-mail | index | archive | help
Hello, I guess my issue is more related to this mailing list rather than to SpamAssassin one. I use SpamAssassin built from ports tree on 6.2-RELEASE box. When debug is enabled via adding --debug flag to spamd_flags in rc.conf then rcNG script does not stop process: # /usr/local/etc/rc.d/sa-spamd stop spamd not running? (check /var/run/spamd/spamd.pid). But: # cat /var/run/spamd/spamd.pid 98080 # ps axww|grep spamd 98080 ?? Ss 0:02,24 /usr/local/bin/perl5.8.8 -T -w /usr/local/bin/spamd --siteconfigpath=/usr/local/etc/mail/spamassassin -x -d -l --max-conn-per-child=128 --timeout-tcp=10 --timeout-child=300 --pidfile=/var/run/spamd/spamd.pid --syslog=local0 --username=spamd --groupname=spamd --allowed-ips=127.0.0.0/8 --listen-ip=127.0.0.1 --debug=received-header,bayes -d -r /var/run/spamd/spamd.pid If --debug flag is disabled then output of ps axww turned into: # ps axww|grep spamd 8483 ?? Ss 0:00,50 /usr/local/bin/spamd --siteconfigpath=/usr/local/etc/mail/spamassassin -x -d -l --max-conn-per-child=128 --timeout-tcp=10 --timeout-child=300 --pidfile=/var/run/spamd/spamd.pid --syslog=local0 --username=spamd --groupname=spamd --allowed-ips=127.0.0.0/8 --listen-ip=127.0.0.1 -d -r /var/run/spamd/spamd.pid (perl5.8.8) and rcNG script works perfectly. My question: is there a way to make rcNG script work in first case? Thanks. -- Kind Regards, Alexander Shikoff minotaur@crete.org.ua Mob.: +380 67 946 31 49
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070227133824.GA49950>