2024-01-05 21:23:40 +01:00
|
|
|
--- clamav-1.2.0/etc/clamd.conf.sample.orig 2023-09-09 19:52:01.009069222 +0200
|
|
|
|
+++ clamav-1.2.0/etc/clamd.conf.sample 2023-09-09 19:54:10.143858534 +0200
|
|
|
|
@@ -4,14 +4,11 @@
|
2024-01-05 21:23:32 +01:00
|
|
|
##
|
|
|
|
|
|
|
|
|
|
|
|
-# Comment or remove the line below.
|
|
|
|
-Example
|
2024-01-05 21:23:40 +01:00
|
|
|
-
|
2024-01-05 21:23:32 +01:00
|
|
|
# Uncomment this option to enable logging.
|
|
|
|
# LogFile must be writable for the user running daemon.
|
|
|
|
# A full path is required.
|
|
|
|
# Default: disabled
|
|
|
|
-#LogFile /tmp/clamd.log
|
2024-01-05 21:23:40 +01:00
|
|
|
+LogFile /var/log/clamav/clamd.log
|
2024-01-05 21:23:32 +01:00
|
|
|
|
|
|
|
# By default the log file is locked for writing - the lock protects against
|
|
|
|
# running clamd multiple times (if want to run another clamd, please
|
2024-01-05 21:23:40 +01:00
|
|
|
@@ -32,7 +29,7 @@
|
2024-01-05 21:23:32 +01:00
|
|
|
|
|
|
|
# Log time with each message.
|
|
|
|
# Default: no
|
|
|
|
-#LogTime yes
|
|
|
|
+LogTime yes
|
|
|
|
|
|
|
|
# Also log clean files. Useful in debugging but drastically increases the
|
|
|
|
# log size.
|
2024-01-05 21:23:40 +01:00
|
|
|
@@ -41,7 +38,7 @@
|
2024-01-05 21:23:33 +01:00
|
|
|
|
|
|
|
# Use system logger (can work together with LogFile).
|
|
|
|
# Default: no
|
|
|
|
-#LogSyslog yes
|
|
|
|
+LogSyslog yes
|
|
|
|
|
|
|
|
# Specify the type of syslog messages - please refer to 'man syslog'
|
|
|
|
# for facility names.
|
2024-01-05 21:23:40 +01:00
|
|
|
@@ -74,7 +71,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.
|
2024-01-05 21:23:32 +01:00
|
|
|
# Default: disabled
|
2024-01-05 21:23:40 +01:00
|
|
|
-#PidFile /run/clamav/clamd.pid
|
2024-01-05 21:23:32 +01:00
|
|
|
+PidFile /run/clamav/clamd.pid
|
2024-01-05 21:23:32 +01:00
|
|
|
|
|
|
|
# Optional path to the global temporary directory.
|
|
|
|
# Default: system specific (usually /tmp or /var/tmp).
|
2024-01-05 21:23:40 +01:00
|
|
|
@@ -98,7 +95,7 @@
|
2024-01-05 21:23:32 +01:00
|
|
|
|
|
|
|
# Path to a local socket file the daemon will listen on.
|
|
|
|
# Default: disabled (must be specified by a user)
|
2024-01-05 21:23:40 +01:00
|
|
|
-#LocalSocket /run/clamav/clamd.sock
|
2024-01-05 21:23:32 +01:00
|
|
|
+LocalSocket /run/clamav/clamd.sock
|
2024-01-05 21:23:40 +01:00
|
|
|
#LocalSocket /tmp/clamd.sock
|
2024-01-05 21:23:32 +01:00
|
|
|
|
|
|
|
# Sets the group ownership on the unix socket.
|
2024-01-05 21:23:40 +01:00
|
|
|
@@ -191,11 +188,11 @@
|
2024-01-05 21:23:32 +01:00
|
|
|
|
|
|
|
# Follow directory symlinks.
|
|
|
|
# Default: no
|
|
|
|
-#FollowDirectorySymlinks yes
|
|
|
|
+FollowDirectorySymlinks yes
|
|
|
|
|
|
|
|
# Follow regular file symlinks.
|
|
|
|
# Default: no
|
|
|
|
-#FollowFileSymlinks yes
|
|
|
|
+FollowFileSymlinks yes
|
|
|
|
|
|
|
|
# Scan files and directories on other filesystems.
|
|
|
|
# Default: yes
|
2024-01-05 21:23:40 +01:00
|
|
|
@@ -224,7 +221,7 @@
|
2024-01-05 21:23:32 +01:00
|
|
|
|
|
|
|
# Run as another user (clamd must be started by root for this option to work)
|
|
|
|
# Default: don't drop privileges
|
|
|
|
-#User clamav
|
|
|
|
+User clamav
|
|
|
|
|
|
|
|
# Stop daemon when libclamav reports out of memory condition.
|
|
|
|
#ExitOnOOM yes
|