/var/log/groonga/httpd/*.log {
    su _groonga groonga
    daily
    missingok
    rotate 30
    compress
    delaycompress
    notifempty
    sharedscripts
    postrotate
        . /etc/default/groonga-httpd
        if [ x"$ENABLE" = x"yes" ]; then
            /usr/sbin/groonga-httpd -s reopen
        fi
    endscript
}
