]>
Commit | Line | Data |
---|---|---|
e41d1146 MK |
1 | diff -urN clamav-0.65.orig/etc/clamav.conf clamav-0.65/etc/clamav.conf |
2 | --- clamav-0.65.orig/etc/clamav.conf Mon Dec 1 14:59:35 2003 | |
3 | +++ clamav-0.65/etc/clamav.conf Mon Dec 1 14:57:07 2003 | |
c935072a MK |
4 | @@ -5,12 +5,12 @@ |
5 | ||
6 | ||
7 | # Comment or remove the line below. | |
8 | -Example | |
9 | +# Example | |
10 | ||
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 | |
16 | ||
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 | |
19 | @@ -30,19 +30,20 @@ | |
20 | #LogTime | |
21 | ||
22 | # Use system logger (can work together with LogFile). | |
23 | -#LogSyslog | |
24 | +LogSyslog | |
25 | ||
26 | # Enable verbose logging. | |
27 | -#LogVerbose | |
28 | +# LogVerbose | |
29 | ||
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 | |
35 | ||
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 | |
41 | ||
42 | # The daemon works in local or network mode. Currently the local mode is | |
43 | # recommended for security reasons. | |
e41d1146 | 44 | @@ -50,10 +51,12 @@ |
c935072a MK |
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 | |
50 | + | |
51 | +LocalSocket /var/lib/clamav/clamd.socket | |
52 | ||
e41d1146 MK |
53 | # Remove stale socket after unclean shutdown. |
54 | -#FixStaleSocket | |
55 | +FixStaleSocket | |
56 | ||
c935072a MK |
57 | # TCP port address. |
58 | #TCPSocket 3310 | |
e41d1146 | 59 | @@ -111,11 +114,11 @@ |
c935072a MK |
60 | |
61 | # Run as selected user (clamd must be started by root). | |
62 | # By default it doesn't drop privileges. | |
63 | -#User clamav | |
64 | +User clamav | |
65 | ||
66 | # Initialize the supplementary group access (for all groups in /etc/group | |
67 | # user is added in. clamd must be started by root). | |
68 | -#AllowSupplementaryGroups | |
69 | +AllowSupplementaryGroups | |
70 | ||
71 | # Don't fork into background. Useful in debugging. | |
72 | #Foreground | |
e41d1146 | 73 | @@ -128,13 +131,12 @@ |
c935072a MK |
74 | ## |
75 | ||
76 | # Uncomment this option if you are planning to scan mail files. | |
77 | -#ScanMail | |
78 | +ScanMail | |
79 | ||
80 | ## | |
81 | ## Archive support | |
82 | ## | |
83 | ||
84 | - | |
85 | # Comment this line to disable scanning of the archives. | |
86 | ScanArchive | |
87 |