commit 3668a83cf651865e3179be911eefdf5d16e1d42d Author: Juan Orti Alcaine <juan.orti@xxxxxxxxxxxx> Date: Wed Aug 20 15:19:21 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 34563c9..08cd0f2 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: 4%{?prerelease:.%{prerelease}}%{?dist} +Release: 5%{?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-5 +- Add ExecReload and Wants=postfix.service to systemd unit + * Thu Aug 14 2014 Juan Orti Alcaine <jorti@xxxxxxxxxxxxxxxxx> 2.9.1-4 - Remove PrivateDevices and PrivateNetwork from all services diff --git a/amavisd.service b/amavisd.service index 34a80ed..f544765 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 NoNewPrivileges=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