diff options
Diffstat (limited to 'extra/spamassassin/spamd.init')
-rw-r--r-- | extra/spamassassin/spamd.init | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/extra/spamassassin/spamd.init b/extra/spamassassin/spamd.init deleted file mode 100644 index 89723889f..000000000 --- a/extra/spamassassin/spamd.init +++ /dev/null @@ -1,39 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/mail-filter/spamassassin/files/3.0.0-spamd.init,v 1.8 2008/05/14 21:25:56 sbriesen Exp $ - -# NB: Config is in /etc/conf.d/spamd - -# Provide a default location if they haven't in /etc/conf.d/spamd -PIDFILE=${PIDFILE:-/var/run/spamd.pid} - -opts="reload" - -depend() { - need net - before mta - use logger -} - -start() { - ebegin "Starting spamd" - start-stop-daemon --start --quiet \ - --name spamd \ - --nicelevel ${SPAMD_NICELEVEL:-0} \ - --exec /usr/sbin/spamd -- -d -r ${PIDFILE} \ - ${SPAMD_OPTS} - eend $? "Failed to start spamd" -} - -stop() { - ebegin "Stopping spamd" - start-stop-daemon --stop --quiet --pidfile ${PIDFILE} - eend $? "Failed to stop spamd" -} - -reload() { - ebegin "Reloading configuration" - kill -HUP $(< ${PIDFILE}) - eend $? -} |