Merge pull request #1367 from mindrunner/fix/logwatch

fix clamav issue in logwatch
This commit is contained in:
Erik Wramner 2020-01-14 21:33:56 +01:00 committed by GitHub
commit 00702f8fcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1477,6 +1477,7 @@ function _setup_mail_summary() {
function _setup_logwatch() {
notify 'inf' "Enable logwatch reports with recipient $LOGWATCH_RECIPIENT"
echo "LogFile = /var/log/mail/freshclam.log" >> /etc/logwatch/conf/logfiles/clam-update.conf
case "$LOGWATCH_INTERVAL" in
"daily" )
notify 'inf' "Creating daily cron job for logwatch reports"