1 diff -urN clamav-0.66.org/etc/clamav.conf clamav-0.66/etc/clamav.conf
2 --- clamav-0.66.org/etc/clamav.conf Wed Feb 11 11:51:14 2004
3 +++ clamav-0.66/etc/clamav.conf Wed Feb 11 11:52:00 2004
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.
29 # This option allows you to save the process identifier of the listening
30 # daemon (main thread).
31 -#PidFile /var/run/clamd.pid
32 +PidFile /var/run/clamav/clamd.pid
34 # Optional path to the global temporary directory.
35 # Default is system specific - usually /var/tmp or /tmp.
37 # Path to the local socket. The daemon doesn't change the mode of the
38 # created file (portability reasons). You may want to create it in a directory
39 # which is only accessible for a user running daemon.
40 -LocalSocket /tmp/clamd
41 +LocalSocket /var/lib/clamav/clamd.socket
43 # Remove stale socket after unclean shutdown.
50 # Maximal number of a threads running at the same time.
51 # Default is 5, and it should be sufficient for a typical workstation.
52 # You may need to increase threads number for a server machine.
56 # Thread (scanner - single task) will be stopped after this time (seconds).
57 # Default is 180. Value of 0 disables the timeout. SECURITY HINT: Increase the
60 # Run as selected user (clamd must be started by root).
61 # By default it doesn't drop privileges.
65 # Initialize the supplementary group access (for all groups in /etc/group
66 # user is added in. clamd must be started by root).
67 -#AllowSupplementaryGroups
68 +AllowSupplementaryGroups
70 # Don't fork into background. Useful in debugging.
75 # Uncomment this option if you are planning to scan mail files.
81 diff -urN clamav-0.66.org/etc/freshclam.conf clamav-0.66/etc/freshclam.conf
82 --- clamav-0.66.org/etc/freshclam.conf Wed Feb 11 11:51:14 2004
83 +++ clamav-0.66/etc/freshclam.conf Wed Feb 11 12:47:55 2004
85 ## Please read the clamav.conf(5) manual before editing this file.
86 ## This file may be optionally merged with clamav.conf.
89 +## PLD NOTE: Note that freshclam is called periodically via cron
90 +## Check /etc/sysconfig/clamd for details
91 +## Seems better to run task once per period than keep daemon running
93 +## But if you have arguments please tell us.
95 # You can change the default database directory here.
96 #DatabaseDirectory /var/lib/clamav
98 # Path to the log file (make sure it has proper permissions)
99 -#UpdateLogFile /var/log/freshclam.log
100 +UpdateLogFile /var/log/freshclam.log
102 # Enable verbose logging.
106 # By default when freshclam is started by root it drops privileges and
107 # switches to the "clamav" user. You can change this behaviour here.
108 -#DatabaseOwner clamav
109 +DatabaseOwner clamav
111 # The main database mirror is database.clamav.net (this is a round-robin
112 # DNS that points to many mirrors on the world) and in most cases you
115 # How often check for a new database. We suggest checking for it every
121 #HTTPProxyServer myproxy.com
124 # Send the RELOAD command to clamd.
125 #NotifyClamd [/optional/config/file/path]
126 +NotifyClamd /etc/clamav.conf
128 # Run command after database update.
129 #OnUpdateExecute command