Simplify systemd unit file. Thanks misc. Fixes bug #1065762
This commit is contained in:
parent
e3cf2260e1
commit
0ad081dcb5
@ -3,11 +3,9 @@ Description=Spamassassin daemon
|
|||||||
After=syslog.target network.target
|
After=syslog.target network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
|
||||||
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 --pidfile /var/run/spamd.pid $SPAMDOPTIONS
|
ExecStart=/usr/bin/spamd $SPAMDOPTIONS
|
||||||
StandardOutput=syslog
|
StandardOutput=syslog
|
||||||
StandardError=syslog
|
StandardError=syslog
|
||||||
Restart=always
|
Restart=always
|
||||||
|
@ -69,7 +69,7 @@ Summary: Spam filter for email which can be invoked from mail delivery agents
|
|||||||
Name: spamassassin
|
Name: spamassassin
|
||||||
Version: 3.4.0
|
Version: 3.4.0
|
||||||
#Release: 0.8.%{prerev}%{?dist}
|
#Release: 0.8.%{prerev}%{?dist}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?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/
|
||||||
@ -365,6 +365,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Feb 11 2014 Kevin Fenzi <kevin@scrye.com> 3.4.0-1
|
||||||
- Update to 3.4.0
|
- Update to 3.4.0
|
||||||
|
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
# Options to spamd
|
# Options to spamd
|
||||||
SPAMDOPTIONS="-d -c -m5 -H"
|
SPAMDOPTIONS="-c -m5 -H"
|
||||||
|
Loading…
Reference in New Issue
Block a user