start-stop-daemon --start --pidfile $PIDFILE --name $PNAME \
$NICE --oknodo --startas $DAEMON -- $OPTIONS $DOPTIONS
echo "$NAME."
;;
*)
N=/etc/init.d/$SNAME
echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
exit 1
;;
esac
exit 0
--
View this message in context:
http://www.nabble.com/Problems-with-the-PIDFILE-tf3670916.html#a10269322
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
geist_ wrote:
Daryl C. W. O wrote:
Are you using the -r or --pidfile option to get spamd to create a pidfile?
Daryl
here is my /etc/default/spamassassin file :
ENABLED=1
OPTIONS="--create-prefs --helper-home-dir -v -m 10 -u vpopmail
--nouser-config"
PIDFILE="/var/run/spamd.pid"
and i us
ot;/var/run/spamd.pid"
and i use /etc/init.d/spamassassin to start/stop it...
--
View this message in context:
http://www.nabble.com/Problems-with-the-PIDFILE-tf3670916.html#a10257946
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
geist_ wrote:
Hi,
spamassassin works fine on my system, except it seems that it doesn't create
any pidfile in/var/run/
i read in the /etc/default/spamassassin script that if i use -u option the
user need to have permissions to write the pid file...
i m kind of newbie and i tried to touch a spa
amp; then chown with the
user i use (vpopmail)
any ideas ?
thx
--
View this message in context:
http://www.nabble.com/Problems-with-the-PIDFILE-tf3670916.html#a10257443
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.