From f02bd6b37ab8981d29f9dd3ce6a01db2119ede8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Wed, 17 Jan 2018 20:49:23 +0000 Subject: [PATCH] Also fix type of clamav-milter.service --- clamav-milter.systemd | 4 ++-- clamav.spec | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) 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)