/var/log/groonga/httpd/*.log {
    daily
    missingok
    rotate 30
    compress
    delaycompress
    notifempty
    sharedscripts
    postrotate
        if [ -f /var/lock/subsys/groonga-httpd ]; then
            /bin/kill -USR1 $(cat /tmp/local/var/run/groonga/groonga-httpd.pid)
        fi
    endscript
}
