/var/log/pgbouncer/pgbouncer.log {
    missingok
    copytruncate
    compress
    notifempty
    sharedscripts
    create 0640 pgbouncer pgbouncer
    nodateext
    weekly
    rotate 5
    postrotate
        /usr/bin/kill -HUP `cat /var/run/pgbouncer/pgbouncer.pid  2>/dev/null` 2> /dev/null || true
    endscript
}
