]> git.pld-linux.org Git - packages/clamav.git/blame - clamav-pld_config.patch
- changelog fixed
[packages/clamav.git] / clamav-pld_config.patch
CommitLineData
5664ab19
MK
1--- clamav-0.66.org/etc/clamav.conf Wed Feb 11 11:51:14 2004
2+++ clamav-0.66/etc/clamav.conf Wed Feb 11 11:52:00 2004
c935072a 3@@ -5,12 +5,12 @@
5664ab19 4
c935072a
MK
5
6 # Comment or remove the line below.
7-Example
8+# Example
9
10 # Uncomment this option to enable logging.
11 # LogFile must be writable for the user running the daemon.
12 # Full path is required.
13-#LogFile /tmp/clamd.log
5664ab19 14+# LogFile /var/log/clamd.log
c935072a
MK
15
16 # By default the log file is locked for writing - the lock protects against
17 # running clamd multiple times (if want to run another clamd, please
7259763f 18@@ -34,7 +34,7 @@
5664ab19 19 #LogClean
c935072a
MK
20
21 # Use system logger (can work together with LogFile).
22-#LogSyslog
23+LogSyslog
24
7259763f
PS
25 # Specify the type of syslog messages - please refer to 'man syslog'
26 # for facility names. Default is LOG_LOCAL6.
27@@ -45,7 +45,7 @@
c935072a
MK
28
29 # This option allows you to save the process identifier of the listening
30 # daemon (main thread).
31-#PidFile /var/run/clamd.pid
5664ab19
MK
32+PidFile /var/run/clamav/clamd.pid
33
34 # Optional path to the global temporary directory.
35 # Default is system specific - usually /var/tmp or /tmp.
7259763f 36@@ -62,10 +62,10 @@
c935072a
MK
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
c935072a
MK
41+LocalSocket /var/lib/clamav/clamd.socket
42
e41d1146
MK
43 # Remove stale socket after unclean shutdown.
44-#FixStaleSocket
45+FixStaleSocket
46
c935072a
MK
47 # TCP port address.
48 #TCPSocket 3310
7259763f 49@@ -90,7 +90,7 @@
5664ab19
MK
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.
53-#MaxThreads 10
54+MaxThreads 10
55
7259763f
PS
56 # Waiting for data from a client socket will timeout after this time (seconds).
57 # Default is 120. Value of 0 disables the timeout.
58@@ -118,11 +118,11 @@
c935072a
MK
59
60 # Run as selected user (clamd must be started by root).
61 # By default it doesn't drop privileges.
62-#User clamav
63+User clamav
64
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
69
70 # Don't fork into background. Useful in debugging.
71 #Foreground
7259763f 72@@ -145,7 +145,7 @@
c935072a
MK
73 ##
74
75 # Uncomment this option if you are planning to scan mail files.
76-#ScanMail
77+ScanMail
78
79 ##
80 ## Archive support
0ad46739 81--- clamav-0.70/etc/freshclam.conf.orig 2004-04-17 00:42:13.000000000 +0200
c19ba3ca
PS
82+++ clamav-0.70/etc/freshclam.conf 2004-04-20 04:22:51.208555704 +0200
83@@ -3,6 +3,11 @@
5664ab19
MK
84 ## Please read the clamav.conf(5) manual before editing this file.
85 ## This file may be optionally merged with clamav.conf.
c935072a 86 ##
5664ab19
MK
87+## PLD NOTE: Note that freshclam is called periodically via cron
88+## Check /etc/sysconfig/clamd for details
89+## Seems better to run task once per period than keep daemon running
90+## only for that.
91+## But if you have arguments please tell us.
92
7259763f
PS
93 # It should match clamav.conf's directive ! (in most cases you shouldn't
94 # change it)
95@@ -12,10 +17,10 @@
c19ba3ca 96 #UpdateLogFile /var/log/freshclam.log
5664ab19
MK
97
98 # Enable verbose logging.
99-#LogVerbose
100+LogVerbose
101
0ad46739 102 # Use system logger (can work together with UpdateLogFile).
c19ba3ca
PS
103-#LogSyslog
104+LogSyslog
0ad46739 105
7259763f
PS
106 # Specify the type of syslog messages - please refer to 'man syslog'
107 # for facility names. Default is LOG_LOCAL6.
108@@ -23,7 +28,7 @@
109
5664ab19
MK
110 # By default when freshclam is started by root it drops privileges and
111 # switches to the "clamav" user. You can change this behaviour here.
112-#DatabaseOwner clamav
113+DatabaseOwner clamav
114
115 # The main database mirror is database.clamav.net (this is a round-robin
116 # DNS that points to many mirrors on the world) and in most cases you
7259763f 117@@ -35,7 +40,7 @@
5664ab19
MK
118
119 # How often check for a new database. We suggest checking for it every
120 # two hours.
121-Checks 12
122+Checks 2
123
124 # Proxy settings
125 #HTTPProxyServer myproxy.com
7259763f 126@@ -45,6 +50,7 @@
5664ab19
MK
127
128 # Send the RELOAD command to clamd.
129 #NotifyClamd [/optional/config/file/path]
488002f3 130+NotifyClamd /etc/clamav.conf
c935072a 131
5664ab19
MK
132 # Run command after database update.
133 #OnUpdateExecute command
This page took 0.055691 seconds and 4 git commands to generate.