/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 /var/run/groonga/groonga-httpd.pid)
        fi
    endscript
}
