From 1631ad8e35f776dd9d4dafbef7a460f577fc88b3 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Tue, 8 Oct 2024 21:14:26 +0200 Subject: [PATCH] clamav: Align with milter options and remove LogFile* options ( to instead use syslog options ) Signed-off-by: Paul Donald --- net/clamav/files/clamav.config | 2 -- net/clamav/files/clamav.init | 4 ---- 2 files changed, 6 deletions(-) diff --git a/net/clamav/files/clamav.config b/net/clamav/files/clamav.config index bdd5550336..a3203d7c2f 100644 --- a/net/clamav/files/clamav.config +++ b/net/clamav/files/clamav.config @@ -1,7 +1,5 @@ config clamav 'clamav' option clamd_config_file '/etc/clamav/clamd.conf' - option LogFile '/tmp/clamd.log' - option LogFileMaxSize '1M' option LogTime 'no' option LogVerbose 'no' option ExtendedDetectionInfo 'no' diff --git a/net/clamav/files/clamav.init b/net/clamav/files/clamav.init index ca093cdff0..7ade317ef7 100644 --- a/net/clamav/files/clamav.init +++ b/net/clamav/files/clamav.init @@ -11,8 +11,6 @@ CLAMD_CONFIGFILE="/tmp/clamav/clamd.conf" validate_clamav_section() { uci_load_validate clamav clamav "$1" "$2" \ 'clamd_config_file:string' \ - 'LogFile:string' \ - 'LogFileMaxSize:string' \ 'LogVerbose:string' \ 'ExtendedDetectionInfo:string' \ 'LogTime:string' \ @@ -63,8 +61,6 @@ start_clamav_instance() { ln -sf "$clamd_config_file" "$CLAMD_CONFIGFILE" { - echo "LogFile " "$LogFile" - echo "LogFileMaxSize " "$LogFileMaxSize" echo "LogVerbose " "$LogVerbose" echo "ExtendedDetectionInfo " "$ExtendedDetectionInfo" echo "LogTime " "$LogTime" -- 2.30.2