Simplify systemd unit file. Thanks misc. Fixes bug #1065762

This commit is contained in:
Kevin Fenzi 2014-02-16 12:05:05 -07:00
parent e3cf2260e1
commit 0ad081dcb5
3 changed files with 6 additions and 5 deletions

View File

@ -3,11 +3,9 @@ Description=Spamassassin daemon
After=syslog.target network.target
[Service]
Type=forking
PIDFile=/var/run/spamd.pid
EnvironmentFile=-/etc/sysconfig/spamassassin
ExecStartPre=-/sbin/portrelease spamd
ExecStart=/usr/bin/spamd --pidfile /var/run/spamd.pid $SPAMDOPTIONS
ExecStart=/usr/bin/spamd $SPAMDOPTIONS
StandardOutput=syslog
StandardError=syslog
Restart=always

View File

@ -69,7 +69,7 @@ Summary: Spam filter for email which can be invoked from mail delivery agents
Name: spamassassin
Version: 3.4.0
#Release: 0.8.%{prerev}%{?dist}
Release: 1%{?dist}
Release: 2%{?dist}
License: ASL 2.0
Group: Applications/Internet
URL: http://spamassassin.apache.org/
@ -365,6 +365,9 @@ fi
%endif
%changelog
* Sun Feb 16 2014 Kevin Fenzi <kevin@scrye.com> 3.4.0-2
- Simplify systemd unit file. Thanks misc. Fixes bug #1065762
* Tue Feb 11 2014 Kevin Fenzi <kevin@scrye.com> 3.4.0-1
- Update to 3.4.0

View File

@ -1,2 +1,2 @@
# Options to spamd
SPAMDOPTIONS="-d -c -m5 -H"
SPAMDOPTIONS="-c -m5 -H"