summaryrefslogtreecommitdiffstats
path: root/debian/postgresql-common.logrotate
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/postgresql-common.logrotate10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/postgresql-common.logrotate b/debian/postgresql-common.logrotate
new file mode 100644
index 0000000..0cbf10a
--- /dev/null
+++ b/debian/postgresql-common.logrotate
@@ -0,0 +1,10 @@
+/var/log/postgresql/*.log {
+ weekly
+ rotate 10
+ copytruncate
+ delaycompress
+ compress
+ notifempty
+ missingok
+ su root root
+}