blob: 172b4f3d4e45f46706b6c59f1f736a3035c0acef (
plain)
diff -Naur clamav-0.96.5.orig/etc/clamd.conf clamav-0.96.5/etc/clamd.conf
--- clamav-0.96.5.orig/etc/clamd.conf 2010-11-05 15:25:19.000000000 +0100
+++ clamav-0.96.5/etc/clamd.conf 2010-12-03 16:58:46.242000015 +0100
@@ -5,7 +5,7 @@
# Comment or remove the line below.
-Example
+#Example
# Uncomment this option to enable logging.
# LogFile must be writable for the user running daemon.
@@ -40,12 +40,12 @@
# 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.
# Default: LOG_LOCAL6
-#LogFacility LOG_MAIL
+LogFacility LOG_MAIL
# Enable verbose logging.
# Default: no
@@ -58,7 +58,7 @@
# This option allows you to save a process identifier of the listening
# daemon (main thread).
# Default: disabled
-#PidFile /var/run/clamd.pid
+PidFile /var/run/clamav/clamd.pid
# Optional path to the global temporary directory.
# Default: system specific (usually /tmp or /var/tmp).
@@ -77,19 +77,19 @@
# Path to a local socket file the daemon will listen on.
# Default: disabled (must be specified by a user)
-#LocalSocket /tmp/clamd.socket
+LocalSocket /var/run/clamav/clamd.socket
# Sets the group ownership on the unix socket.
# Default: disabled (the primary group of the user running clamd)
-#LocalSocketGroup virusgroup
+LocalSocketGroup clamav
# Sets the permissions on the unix socket to the specified mode.
# Default: disabled (socket is world accessible)
-#LocalSocketMode 660
+LocalSocketMode 660
# Remove stale socket after unclean shutdown.
# Default: yes
-#FixStaleSocket yes
+FixStaleSocket yes
# TCP port address.
# Default: no
@@ -187,14 +187,14 @@
# Run as another user (clamd must be started by root for this option to work)
# Default: don't drop privileges
-#User clamav
+User clamav
# Initialize supplementary group access (clamd must be started by root).
# Default: no
-#AllowSupplementaryGroups no
+AllowSupplementaryGroups yes
# Stop daemon when libclamav reports out of memory condition.
-#ExitOnOOM yes
+ExitOnOOM yes
# Don't fork into background.
# Default: no
|