/var/log/groonga/*-gqtp.log {
    su _groonga groonga
    daily
    missingok
    rotate 30
    compress
    delaycompress
    notifempty
    sharedscripts
    postrotate
        . /etc/default/groonga-server-gqtp
        if x"$ENABLE" = x"yes"; then
            /usr/bin/groonga --port "${PORT:-10043}" -c 127.0.0.1 \
                log_reopen > /dev/null
        fi
    endscript
}
