summaryrefslogtreecommitdiff
path: root/extra/pgbouncer/pgbouncer.logrotate
blob: 2037875eb15b1721580c3d02a2d548e2495ae6b1 (plain)
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
}