]> git.pld-linux.org Git - packages/clamav.git/blobdiff - clamav.logrotate
-up to 0.98.6
[packages/clamav.git] / clamav.logrotate
index 1060284fe1b5651728e0c2de8b555b372ce2a385..a5753e21d5c3b05ba8e9731b04f77457542e4cf8 100644 (file)
@@ -1,8 +1,12 @@
-/var/log/clamd.log /var/log/freshclam.log  {
-    olddir /var/log/archiv
-    create 640 clamav root
-    sharedscripts
-    postrotate
-        /bin/killall -HUP clamd
-    endscript
+/var/log/clamd.log {
+       create 640 clamav root
+       postrotate
+               /bin/killall -HUP clamd
+       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.038293 seconds and 4 git commands to generate.