clamav: Align with milter options and remove LogFile* options

( to instead use syslog options )

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
Paul Donald
2024-10-08 21:14:26 +02:00
committed by Rosen Penev
parent fc26c6b4f8
commit 1631ad8e35
2 changed files with 0 additions and 6 deletions

View File

@@ -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'

View File

@@ -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"