From fcb861f89c7f10d1af0e1612973528e575bad7cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Thu, 9 Apr 2020 03:33:32 +0100 Subject: [PATCH] Do not log freshclam output to syslog by default - creates double entries in the journal (bz#1822012) (#1820069) add try-restart clamav-freshclam.service on logrotate --- clamav-update.logrotate | 3 +++ clamav.spec | 1 + 2 files changed, 4 insertions(+) diff --git a/clamav-update.logrotate b/clamav-update.logrotate index ab11396..3cd28f0 100644 --- a/clamav-update.logrotate +++ b/clamav-update.logrotate @@ -2,4 +2,7 @@ monthly notifempty missingok + postrotate + systemctl try-restart clamav-freshclam.service + endscript } diff --git a/clamav.spec b/clamav.spec index 6b12ac4..26177b6 100644 --- a/clamav.spec +++ b/clamav.spec @@ -627,6 +627,7 @@ fi * Wed Apr 8 2020 Orion Poplawski - 0.102.2-5 - Do not log freshclam output to syslog by default - creates double entries in the journal (bz#1822012) +- (#1820069) add try-restart clamav-freshclam.service on logrotate * Mon Mar 16 2020 Orion Poplawski - 0.102.2-4 - Quiet freshclam-sleep when used with proxy