clamav.logrotate 430 B

123456789101112
  1. /var/log/clamav/clamd.log /var/log/clamav/freshclam.log /var/log/clamav/clamav-milter.log {
  2. create 644 clamav clamav
  3. sharedscripts
  4. missingok
  5. notifempty
  6. postrotate
  7. /bin/kill -HUP `cat /run/clamav/clamd.pid 2>/dev/null` 2> /dev/null || true
  8. /bin/kill -HUP `cat /run/clamav/freshclam.pid 2>/dev/null` 2> /dev/null || true
  9. /bin/kill -HUP `cat /run/clamav/clamav-milter.pid 2>/dev/null` 2> /dev/null || true
  10. endscript
  11. }