1 2 3 4 5 6 7 8
/var/log/pgbouncer/pgbouncer.log { copytruncate missingok notifempty postrotate /bin/kill -HUP $(cat /run/pgbouncer/pgbouncer.pid 2>/dev/null) 2> /dev/null || true endscript }