clamav/clamav-0.100.0-config.patch

78 lines
2.1 KiB
Diff
Raw Normal View History

--- 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
@@ -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
@@ -32,7 +30,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 +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 @@
# This option allows you to save a process identifier of the listening
# daemon (main thread).
# Default: disabled
-#PidFile /var/run/clamd.pid
+PidFile /run/clamav/clamd.pid
# Optional path to the global temporary directory.
# Default: system specific (usually /tmp or /var/tmp).
@@ -90,7 +88,7 @@
# Path to a local socket file the daemon will listen on.
# Default: disabled (must be specified by a user)
-#LocalSocket /tmp/clamd.socket
+LocalSocket /run/clamav/clamd.sock
# Sets the group ownership on the unix socket.
# Default: disabled (the primary group of the user running clamd)
@@ -183,11 +181,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
@@ -204,7 +202,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