From: Robert Graużenis Date: Sat, 15 Mar 2014 12:06:44 +0000 (+0100) Subject: - fix start/stop script X-Git-Tag: auto/th/spamassassin-3.4.0-2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fspamassassin.git;a=commitdiff_plain;h=5e2504f - fix start/stop script --- diff --git a/spamassassin-spamd.init b/spamassassin-spamd.init index 19dc131..404ea98 100644 --- a/spamassassin-spamd.init +++ b/spamassassin-spamd.init @@ -55,7 +55,7 @@ stop() { fi msg_stopping "SpamAssassin" - killproc spamd + killproc --pidfile spamassassin.pid spamd RETVAL=$? rm -f /var/lock/subsys/spamd } diff --git a/spamassassin.spec b/spamassassin.spec index 7b096b8..3e548f8 100644 --- a/spamassassin.spec +++ b/spamassassin.spec @@ -13,7 +13,7 @@ Summary: A spam filter for email which can be invoked from mail delivery agents Summary(pl.UTF-8): Filtr antyspamowy, przeznaczony dla programów dostarczających pocztę (MDA) Name: spamassassin Version: 3.4.0 -Release: 1 +Release: 2 License: Apache v2.0 Group: Applications/Mail Source0: http://ftp.ps.pl/pub/apache//spamassassin/source/%{pdir}-%{pnam}-%{version}.tar.bz2 diff --git a/spamassassin.sysconfig b/spamassassin.sysconfig index 83a1792..f8e4aca 100644 --- a/spamassassin.sysconfig +++ b/spamassassin.sysconfig @@ -1,4 +1,4 @@ # Customized settings for spamassassin (spamd) # Cmdline options -SPAMD_OPTS="-d -c" +SPAMD_OPTS="-d -c --pidfile=/var/run/spamassassin.pid"