aboutsummaryrefslogtreecommitdiff
path: root/postgresql/postgresql.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'postgresql/postgresql.logrotate')
-rw-r--r--postgresql/postgresql.logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/postgresql/postgresql.logrotate b/postgresql/postgresql.logrotate
new file mode 100644
index 0000000..489effe
--- /dev/null
+++ b/postgresql/postgresql.logrotate
@@ -0,0 +1,9 @@
+/var/log/@PRGNAM@-@PG_VERSION@ {
+ daily
+ rotate 7
+ copytruncate
+ delaycompress
+ compress
+ notifempty
+ missingok
+}