]> git.pld-linux.org Git - packages/clamav.git/blobdiff - clamav.logrotate
- updated to 0.101.1
[packages/clamav.git] / clamav.logrotate
index ac959fad5559f5aab7619c97abdeaeec783ca12e..a5753e21d5c3b05ba8e9731b04f77457542e4cf8 100644 (file)
@@ -1,15 +1,12 @@
 /var/log/clamd.log {
-    olddir /var/log/archiv
-    create 640 clamav clamav
-    postrotate
-        /bin/killall -HUP clamav
-    endscript
+       create 640 clamav root
+       postrotate
+               /bin/killall -HUP clamd
+       endscript
 }
-
-/var/log/clamav.log {
-    olddir /var/log/archiv
-    create 640 clamav clamav
-    postrotate
-        /bin/killall -HUP clamav
-    endscript
+/var/log/freshclam.log {
+       create 640 clamav root
+       postrotate
+               /bin/killall -HUP freshclam 2>/dev/null || /sbin/service syslog-ng flush-logs >/dev/null
+       endscript
 }
This page took 0.095143 seconds and 4 git commands to generate.