diff --git a/clamav-milter.systemd b/clamav-milter.systemd index a5c5c89..7571038 100644 --- a/clamav-milter.systemd +++ b/clamav-milter.systemd @@ -6,8 +6,8 @@ Before = postfix.service After = clamd@scan.service [Service] -Type = simple -ExecStart = /usr/sbin/clamav-milter -c /etc/mail/clamav-milter.conf --foreground=yes +Type = forking +ExecStart = /usr/sbin/clamav-milter -c /etc/mail/clamav-milter.conf Restart = on-failure User=clamilt diff --git a/clamav.spec b/clamav.spec index f9b8106..e3b242d 100644 --- a/clamav.spec +++ b/clamav.spec @@ -942,9 +942,10 @@ test "$1" != "0" || /sbin/initctl -q stop clamav-milter || : %changelog -* Tue Jan 16 2018 Orion Poplawski - 0.99.2-18 +* Wed Jan 17 2018 Sérgio Basto - 0.99.2-18 - Fix type of clamd@ service - Fix packages name of Obsoletes directives +- Also fix type of clamav-milter.service * Thu Jan 11 2018 Sérgio Basto - 0.99.2-17 - Security fixes CVE-2017-6420 (#1483910), CVE-2017-6418 (#1483908)