/var/log/imunify360/imunify360-wafd.log {
    daily
    missingok
    notifempty
    size 30k
    compress
    delaycompress
    rotate 14
    create 0600 root root
    postrotate
        if pidof -q /usr/sbin/wafd_imunify_daemon; then
            pkill -USR2 -f /usr/sbin/wafd_imunify_daemon
        fi
    endscript
}
