clamav/clamav-1.3.1-config.patch
Silvan Calarco bd2b33659d rebuilt with -DDATABASE_DIRECTORY and ENABLE_EXTERNAL_MS_PACK
conf: fix socket file to /run/clamav/clamd.ctl [release 1.3.1-2mamba;Thu May 02 2024]
2024-05-02 20:55:10 +02:00

78 lines
2.1 KiB
Diff

--- 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 @@
##
-# 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
@@ -32,7 +29,7 @@
# Log time with each message.
# Default: no
-#LogTime yes
+LogTime yes
# Also log clean files. Useful in debugging but drastically increases the
# log size.
@@ -41,7 +38,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.
@@ -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.
# Default: disabled
-#PidFile /run/clamav/clamd.pid
+PidFile /run/clamav/clamd.pid
# Optional path to the global temporary directory.
# Default: system specific (usually /tmp or /var/tmp).
@@ -98,7 +95,7 @@
# Path to a local socket file the daemon will listen on.
# Default: disabled (must be specified by a user)
-#LocalSocket /run/clamav/clamd.sock
+LocalSocket /run/clamav/clamd.ctl
#LocalSocket /tmp/clamd.sock
# Sets the group ownership on the unix socket.
@@ -191,11 +188,11 @@
# 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
@@ -224,7 +221,7 @@
# 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