[spamassassin] Fix unit file to write pid correctly. Fixes bug #783108

Kevin Fenzi kevin at fedoraproject.org
Thu Jan 19 20:23:42 UTC 2012


commit 503b45eb4b5e13d46c5e57fbef6ff7d383a119aa
Author: Kevin Fenzi <kevin at scrye.com>
Date:   Thu Jan 19 13:23:39 2012 -0700

    Fix unit file to write pid correctly. Fixes bug #783108

 spamassassin.service |    2 +-
 spamassassin.spec    |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/spamassassin.service b/spamassassin.service
index 6bce278..51c18cc 100644
--- a/spamassassin.service
+++ b/spamassassin.service
@@ -7,7 +7,7 @@ Type=forking
 PIDFile=/var/run/spamd.pid
 EnvironmentFile=-/etc/sysconfig/spamassassin
 ExecStartPre=-/sbin/portrelease spamd
-ExecStart=/usr/bin/spamd $SPAMDOPTIONS
+ExecStart=/usr/bin/spamd --pidfile /var/run/spamd.pid $SPAMDOPTIONS
 StandardOutput=syslog
 StandardError=syslog
 
diff --git a/spamassassin.spec b/spamassassin.spec
index b489564..7ce4549 100644
--- a/spamassassin.spec
+++ b/spamassassin.spec
@@ -69,7 +69,7 @@ Summary: Spam filter for email which can be invoked from mail delivery agents
 Name: spamassassin
 Version: 3.3.2
 #Release: 0.8.%{prerev}%{?dist}
-Release: 8%{?dist}
+Release: 9%{?dist}
 License: ASL 2.0
 Group: Applications/Internet
 URL: http://spamassassin.apache.org/
@@ -352,6 +352,9 @@ fi
 %endif
 
 %changelog
+* Thu Jan 19 2012 Kevin Fenzi <kevin at scrye.com> - 3.3.2-9
+- Fix unit file to write pid correctly. Fixes bug #783108
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.3.2-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list