summaryrefslogtreecommitdiffstats
path: root/clamav/build/clamav.conf.patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-02-14 10:20:22 +0000
committer Eric Hameleers <alien@slackware.com>2007-02-14 10:20:22 +0000
commit9ea7672846eee0ddec34a3b1a89a8ce7c90d0a5c (patch)
tree289669e773f06fb140fb9e3418982468df30a43f /clamav/build/clamav.conf.patch
parent4104be76a729975257437da37ec326c7ae25f5a7 (diff)
downloadasb-9ea7672846eee0ddec34a3b1a89a8ce7c90d0a5c.tar.gz
asb-9ea7672846eee0ddec34a3b1a89a8ce7c90d0a5c.tar.xz
Initial revision
Diffstat (limited to 'clamav/build/clamav.conf.patch')
-rw-r--r--clamav/build/clamav.conf.patch52
1 files changed, 52 insertions, 0 deletions
diff --git a/clamav/build/clamav.conf.patch b/clamav/build/clamav.conf.patch
new file mode 100644
index 00000000..0706e3cf
--- /dev/null
+++ b/clamav/build/clamav.conf.patch
@@ -0,0 +1,52 @@
+--- /clamd.conf.old 2005-05-11 03:43:05.000000000 +0200
++++ clamd.conf 2005-05-21 14:34:47.000000000 +0200
+@@ -11,7 +11,7 @@
+ # LogFile must be writable for the user running daemon.
+ # A full path is required.
+ # Default: disabled
+-#LogFile /tmp/clamd.log
++LogFile /var/log/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
+@@ -31,7 +31,7 @@
+
+ # Log time with each message.
+ # Default: disabled
+-#LogTime
++LogTime
+
+ # Also log clean files. Useful in debugging but drastically increases the
+ # log size.
+@@ -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,7 +69,7 @@
+
+ # Path to a local socket file the daemon will listen on.
+ # Default: disabled
+-LocalSocket /tmp/clamd
++LocalSocket /var/run/clamav/clamd
+
+ # Remove stale socket after unclean shutdown.
+ # Default: disabled
+@@ -141,11 +141,11 @@
+
+ # Run as a selected user (clamd must be started by root).
+ # Default: disabled
+-#User clamav
++User clamav
+
+ # Initialize supplementary group access (clamd must be started by root).
+ # Default: disabled
+-#AllowSupplementaryGroups
++AllowSupplementaryGroups
+
+ # Stop daemon when libclamav reports out of memory condition.
+ #ExitOnOOM