Would like to change the spamass-milter package to have it's conf.d/spamass-milter file to include an options directive. Currently you have to edit the init script to add options. Not a huge deal just a little annoying and maybe unclear to some users. # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/mail-filter/spamass-milter/files/spamass-milter.conf,v 1.2 2004/07/14 22:29:01 agriffis Exp $ DAEMON=/usr/sbin/spamass-milter SOCKET=/var/run/spamd/spamass-milter.sock PIDFILE=/var/run/spamd/spamass-milter.pid DESC="Sendmail milter plugin for SpamAssassin" OPTIONS="-f" #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/mail-filter/spamass-milter/files/spamass-milter.rc,v 1.2 2004/07/14 22:29:01 agriffis Exp $ # NB: Config is in /etc/conf.d/spamass-milter depend() { need net spamd use logger before sendmail } start() { ebegin "Starting $DESC" start-stop-daemon --start --quiet --make-pidfile --pidfile ${PIDFILE}\ --exec ${DAEMON} -- -p ${SOCKET} ${OPTIONS} eend $? "Failed to start ${DAEMON}" } stop() { ebegin "Stopping $DESC" { killall ${DAEMON} /bin/sleep 5s /bin/rm -f ${SOCKET} /bin/rm -f ${PIDFILE} } && kill -1 `head -n 1 /var/run/sendmail.pid` eend $? "Failed to stop ${DAEMON}" }
0.3.1-r1 in with revamped initscript, support for options and dropped privs by default. Thanks for the report.