summaryrefslogtreecommitdiffstats
path: root/clamav/build/clamd.conf.patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-02-14 10:26:14 +0000
committer Eric Hameleers <alien@slackware.com>2007-02-14 10:26:14 +0000
commitd147213174104112eb283eac213c730eff592149 (patch)
tree9da3fdfbec74be8873b1d95fe9ee96313bba891e /clamav/build/clamd.conf.patch
parent2cb029b2c5bd767226ff9edd25705bc80a17b8b5 (diff)
downloadasb-d147213174104112eb283eac213c730eff592149.tar.gz
asb-d147213174104112eb283eac213c730eff592149.tar.xz
Initial revision
Diffstat (limited to 'clamav/build/clamd.conf.patch')
-rw-r--r--clamav/build/clamd.conf.patch67
1 files changed, 67 insertions, 0 deletions
diff --git a/clamav/build/clamd.conf.patch b/clamav/build/clamd.conf.patch
new file mode 100644
index 00000000..4b6a1c8c
--- /dev/null
+++ b/clamav/build/clamd.conf.patch
@@ -0,0 +1,67 @@
+--- clamd.conf.orig 2007-02-12 19:18:42.000000000 +0100
++++ clamd.conf 2007-02-14 09:37:55.000000000 +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
+@@ -54,7 +54,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).
+@@ -69,11 +69,11 @@
+
+ # Path to a local socket file the daemon will listen on.
+ # Default: disabled (must be specified by a user)
+-LocalSocket /tmp/clamd
++LocalSocket /var/run/clamav/clamd
+
+ # Remove stale socket after unclean shutdown.
+ # Default: no
+-#FixStaleSocket yes
++FixStaleSocket yes
+
+ # TCP port address.
+ # Default: no
+@@ -142,14 +142,14 @@
+ # Run as another user (clamd must be started by root to make this option
+ # working).
+ # 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