[amavisd-new] Add ExecReload and Wants=postfix.service to systemd unit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 20d69c4539ce726f49247eae723dca7cb9454012
Author: Juan Orti Alcaine <juan.orti@xxxxxxxxxxxx>
Date:   Wed Aug 20 15:09:46 2014 +0200

    Add ExecReload and Wants=postfix.service to systemd unit

 amavisd-new.spec |    5 ++++-
 amavisd.service  |    2 ++
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/amavisd-new.spec b/amavisd-new.spec
index 1771fbb..44d996a 100644
--- a/amavisd-new.spec
+++ b/amavisd-new.spec
@@ -3,7 +3,7 @@
 Summary:        Email filter with virus scanner and spamassassin support
 Name:           amavisd-new
 Version:        2.9.1
-Release:        2%{?prerelease:.%{prerelease}}%{?dist}
+Release:        3%{?prerelease:.%{prerelease}}%{?dist}
 # LDAP schema is GFDL, some helpers are BSD, core is GPLv2+
 License:        GPLv2+ and BSD and GFDL
 Group:          Applications/System
@@ -235,6 +235,9 @@ systemctl start amavisd-clean-quarantine.timer >/dev/null 2>&1 || :
 %{_sbindir}/amavisd-snmp-subagent
 
 %changelog
+* Wed Aug 20 2014 Juan Orti Alcaine <jorti@xxxxxxxxxxxxxxxxx> 2.9.1-3
+- Add ExecReload and Wants=postfix.service to systemd unit
+
 * Sun Aug 03 2014 Juan Orti Alcaine <jorti@xxxxxxxxxxxxxxxxx> 2.9.1-2
 - Add patch to fix releasing mail from sql quarantine
 
diff --git a/amavisd.service b/amavisd.service
index fc3e928..b7d15bd 100644
--- a/amavisd.service
+++ b/amavisd.service
@@ -3,6 +3,7 @@ Description=Amavisd-new is an interface between MTA and content checkers.
 Documentation=http://www.ijs.si/software/amavisd/#doc
 After=network.target
 Wants=clamd@amavisd.service
+Wants=postfix.service
 
 [Service]
 Type=forking
@@ -10,6 +11,7 @@ User=amavis
 Group=amavis
 PIDFile=/var/run/amavisd/amavisd.pid
 ExecStart=/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf
+ExecReload=/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf reload
 Restart=on-failure
 PrivateTmp=true
 PrivateDevices=true
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux