clamav/clamav-1.4.0-freshclam_config.patch

30 lines
1.0 KiB
Diff
Raw Permalink Normal View History

--- clamav-1.4.0/etc/freshclam.conf.sample.orig 2024-08-21 20:11:02.703496385 +0200
+++ clamav-1.4.0/etc/freshclam.conf.sample 2024-08-21 20:12:09.701609375 +0200
@@ -16,7 +16,7 @@
# Path to the log file (make sure it has proper permissions)
# Default: disabled
-#UpdateLogFile /var/log/freshclam.log
+UpdateLogFile /var/log/clamav/freshclam.log
# Maximum size of the log file.
# Value of 0 disables the limit.
@@ -37,7 +37,7 @@
# Use system logger (can work together with UpdateLogFile).
# Default: no
-#LogSyslog yes
+LogSyslog yes
# Specify the type of syslog messages - please refer to 'man syslog'
# for facility names.
@@ -54,7 +54,7 @@
# It is recommended that the directory where this file is stored is
# also owned by root to keep other users from tampering with it.
# Default: disabled
-#PidFile /run/clamav/freshclam.pid
+PidFile /run/clamav/freshclam.pid
# By default when started freshclam drops privileges and switches to the
# "clamav" user. This directive allows you to change the database owner.