summaryrefslogtreecommitdiffstats
path: root/clamav/build/clamav.conf.patch
blob: 0706e3cf46eaae47f868389cc9e6648e1ff0a974 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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