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

This commit is contained in:
Kevin Fenzi 2012-01-19 13:23:39 -07:00
parent e48dafc94c
commit 503b45eb4b
2 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,7 @@ Type=forking
PIDFile=/var/run/spamd.pid PIDFile=/var/run/spamd.pid
EnvironmentFile=-/etc/sysconfig/spamassassin EnvironmentFile=-/etc/sysconfig/spamassassin
ExecStartPre=-/sbin/portrelease spamd ExecStartPre=-/sbin/portrelease spamd
ExecStart=/usr/bin/spamd $SPAMDOPTIONS ExecStart=/usr/bin/spamd --pidfile /var/run/spamd.pid $SPAMDOPTIONS
StandardOutput=syslog StandardOutput=syslog
StandardError=syslog StandardError=syslog

View File

@ -69,7 +69,7 @@ Summary: Spam filter for email which can be invoked from mail delivery agents
Name: spamassassin Name: spamassassin
Version: 3.3.2 Version: 3.3.2
#Release: 0.8.%{prerev}%{?dist} #Release: 0.8.%{prerev}%{?dist}
Release: 8%{?dist} Release: 9%{?dist}
License: ASL 2.0 License: ASL 2.0
Group: Applications/Internet Group: Applications/Internet
URL: http://spamassassin.apache.org/ URL: http://spamassassin.apache.org/
@ -352,6 +352,9 @@ fi
%endif %endif
%changelog %changelog
* Thu Jan 19 2012 Kevin Fenzi <kevin@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@lists.fedoraproject.org> - 3.3.2-8 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild