From 503b45eb4b5e13d46c5e57fbef6ff7d383a119aa Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 19 Jan 2012 13:23:39 -0700 Subject: [PATCH] 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 - 3.3.2-9 +- Fix unit file to write pid correctly. Fixes bug #783108 + * Sat Jan 14 2012 Fedora Release Engineering - 3.3.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild