summaryrefslogtreecommitdiff
path: root/extra/clamav/config.patch
blob: a0105bd489093cf03be88454d365f8272b9217e6 (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
diff -arU 0 old/etc/clamd.conf new/etc/clamd.conf
--- old/etc/clamd.conf	2010-12-02 19:31:21.773357389 +0100
+++ new/etc/clamd.conf	2010-12-02 19:31:45.873357389 +0100
@@ -14 +14 @@
-#LogFile /tmp/clamd.log
+LogFile /var/log/clamav/clamd.log
@@ -34 +34 @@
-#LogTime yes
+LogTime yes
@@ -61 +61 @@
-#PidFile /var/run/clamd.pid
+PidFile /var/run/clamav/clamd.pid
@@ -65 +65 @@
-#TemporaryDirectory /var/tmp
+TemporaryDirectory /tmp
@@ -80 +80 @@
-#LocalSocket /tmp/clamd.socket
+LocalSocket /var/lib/clamav/clamd.sock
@@ -190 +190 @@
-#User clamav
+User clamav
diff -arU 0 old/etc/freshclam.conf new/etc/freshclam.conf
--- old/etc/freshclam.conf	2010-12-02 19:31:21.773357389 +0100
+++ new/etc/freshclam.conf	2010-12-02 19:31:51.190024057 +0100
@@ -17 +17 @@
-#UpdateLogFile /var/log/freshclam.log
+UpdateLogFile /var/log/clamav/freshclam.log
@@ -121 +121 @@
-#NotifyClamd /path/to/clamd.conf
+NotifyClamd /etc/clamav/clamd.conf