/var/log/imunify360/captcha/*.log {
        daily
        missingok
        rotate 52
        compress
        delaycompress
        notifempty
        create 640 imunify360-captcha adm
        sharedscripts
        postrotate
                if [ -f /var/run/imunify360-captchaserver-nginx.pid ]; then
                        kill -USR1 `cat /var/run/imunify360-captchaserver-nginx.pid`
                fi
        endscript
}
