aboutsummaryrefslogtreecommitdiffstats
path: root/community/pgbouncer/pgbouncer.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'community/pgbouncer/pgbouncer.logrotate')
-rw-r--r--community/pgbouncer/pgbouncer.logrotate7
1 files changed, 7 insertions, 0 deletions
diff --git a/community/pgbouncer/pgbouncer.logrotate b/community/pgbouncer/pgbouncer.logrotate
new file mode 100644
index 0000000000..78b82510d3
--- /dev/null
+++ b/community/pgbouncer/pgbouncer.logrotate
@@ -0,0 +1,7 @@
+/var/log/pgbouncer/pgbouncer.log {
+ missingok
+ sharedscripts
+ postrotate
+ /etc/init.d/pgbouncer --quiet --ifstarted reload
+ endscript
+}