about summary refs log tree commit diff stats
path: root/linux/conf/logrotate.d/postgresql
diff options
context:
space:
mode:
authorpunk <punk@libernaut>2021-04-29 16:10:16 +0100
committerpunk <punk@libernaut>2021-04-29 16:10:16 +0100
commit5e601f7ee14830ef645ee3d3b1bcdce7450a5ce3 (patch)
treefd61f912b509c9056e79b9f0ee6b700584c85b57 /linux/conf/logrotate.d/postgresql
parent3790c6ecd836d25815f7cb8deef62a77d4f3ac9f (diff)
downloaddoc-5e601f7ee14830ef645ee3d3b1bcdce7450a5ce3.tar.gz
linux tools configs moved to linux folder
Diffstat (limited to 'linux/conf/logrotate.d/postgresql')
-rw-r--r--linux/conf/logrotate.d/postgresql10
1 files changed, 10 insertions, 0 deletions
diff --git a/linux/conf/logrotate.d/postgresql b/linux/conf/logrotate.d/postgresql
new file mode 100644
index 0000000..8c16bfa
--- /dev/null
+++ b/linux/conf/logrotate.d/postgresql
@@ -0,0 +1,10 @@
+# this log is only used by postgresql at startup
+# before start using syslog so there is no need
+# to reload syslog-ng or syslog-ng
+/var/log/postgresql {
+    # uncomment this if you want your log files compressed
+    delaycompress
+    compress
+    notifempty
+    create 664 postgres postgres
+}