summarylogtreecommitdiffstats
path: root/postgresql.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'postgresql.logrotate')
-rw-r--r--postgresql.logrotate4
1 files changed, 4 insertions, 0 deletions
diff --git a/postgresql.logrotate b/postgresql.logrotate
new file mode 100644
index 000000000000..9c36918be5e5
--- /dev/null
+++ b/postgresql.logrotate
@@ -0,0 +1,4 @@
+/var/log/postgresql.log {
+ copytruncate
+ missingok
+}