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