1 diff -urN clamav-0.60.orig/etc/clamav.conf clamav-0.60/etc/clamav.conf
2 --- clamav-0.60.orig/etc/clamav.conf Thu Aug 28 14:14:08 2003
3 +++ clamav-0.60/etc/clamav.conf Thu Aug 28 14:15:09 2003
7 # Comment or remove the line below.
11 # Uncomment this option to enable logging.
12 # LogFile must be writable for the user running the daemon.
13 # Full path is required.
14 -#LogFile /tmp/clamd.log
15 +#LogFile /var/log/clamd.log
17 # By default the log file is locked for writing - the lock protects against
18 # running clamd multiple times (if want to run another clamd, please
22 # Use system logger (can work together with LogFile).
26 # Enable verbose logging.
30 # This option allows you to save the process identifier of the listening
31 # daemon (main thread).
32 -#PidFile /var/run/clamd.pid
33 +# We use dir becouse covering clamd.pid file couse default rights are sane.
34 +PidFile /var/run/clamav/clamd.pid
36 # Path to a directory containing .db files.
37 # Default is the hardcoded directory (mostly /usr/local/share/clamav,
38 # it depends on installation options).
39 -#DataDirectory /var/lib/clamav
40 +DataDirectory /var/lib/clamav
42 # The daemon works in local or network mode. Currently the local mode is
43 # recommended for security reasons.
45 # Path to the local socket. The daemon doesn't change the mode of the
46 # created file (portability reasons). You may want to create it in a directory
47 # which is only accessible for a user running daemon.
48 -LocalSocket /tmp/clamd
49 +# LocalSocket /var/run/clamav/clamd.socket
51 +LocalSocket /var/lib/clamav/clamd.socket
57 # Run as selected user (clamd must be started by root).
58 # By default it doesn't drop privileges.
62 # Initialize the supplementary group access (for all groups in /etc/group
63 # user is added in. clamd must be started by root).
64 -#AllowSupplementaryGroups
65 +AllowSupplementaryGroups
67 # Don't fork into background. Useful in debugging.
72 # Uncomment this option if you are planning to scan mail files.
81 # Comment this line to disable scanning of the archives.