2024-01-05 21:23:33 +01:00
|
|
|
--- clamav-0.100.0/etc/clamd.conf.sample.orig 2018-04-04 02:13:58.000000000 +0200
|
|
|
|
+++ clamav-0.100.0/etc/clamd.conf.sample 2018-06-23 13:24:55.169343560 +0200
|
2024-01-05 21:23:32 +01:00
|
|
|
@@ -4,14 +4,12 @@
|
|
|
|
##
|
|
|
|
|
|
|
|
|
|
|
|
-# Comment or remove the line below.
|
|
|
|
-Example
|
|
|
|
|
|
|
|
# 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
|
|
|
|
+#LogFile /var/log/clamav/clamd.log
|
|
|
|
|
|
|
|
# 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:33 +01:00
|
|
|
@@ -32,7 +30,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:33 +01:00
|
|
|
@@ -41,7 +39,7 @@
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
@@ -71,7 +69,7 @@
|
2024-01-05 21:23:32 +01:00
|
|
|
# This option allows you to save a process identifier of the listening
|
|
|
|
# daemon (main thread).
|
|
|
|
# Default: disabled
|
|
|
|
-#PidFile /var/run/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:33 +01:00
|
|
|
@@ -90,7 +88,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)
|
|
|
|
-#LocalSocket /tmp/clamd.socket
|
2024-01-05 21:23:32 +01:00
|
|
|
+LocalSocket /run/clamav/clamd.sock
|
2024-01-05 21:23:32 +01:00
|
|
|
|
|
|
|
# Sets the group ownership on the unix socket.
|
|
|
|
# Default: disabled (the primary group of the user running clamd)
|
2024-01-05 21:23:33 +01:00
|
|
|
@@ -183,11 +181,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:33 +01:00
|
|
|
@@ -204,7 +202,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
|