summaryrefslogtreecommitdiffstats
path: root/debian/postgresql-common.logrotate
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:02:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:02:19 +0000
commit670c19c1ec189d5831be4a4c09099036da4635ad (patch)
tree9e929200d3abb9b52d685695db2a72e02718b243 /debian/postgresql-common.logrotate
parentAdding upstream version 248. (diff)
downloadpostgresql-common-24ceaa662dcc10ccb14026fde05d7409235b2234.tar.xz
postgresql-common-24ceaa662dcc10ccb14026fde05d7409235b2234.zip
Adding debian version 248.debian/248debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/postgresql-common.logrotate')
-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
+}