# Logrotate configuration for clamscan_daily.sh logs
/var/log/clamav/clamav-*.log {
    daily
    rotate 7
    compress
    missingok
    notifempty
    create 640 clamav adm
    sharedscripts
    postrotate
        systemctl reload clamav-daemon > /dev/null 2>&1 || true
    endscript
}
