From 5e601f7ee14830ef645ee3d3b1bcdce7450a5ce3 Mon Sep 17 00:00:00 2001 From: punk Date: Thu, 29 Apr 2021 16:10:16 +0100 Subject: linux tools configs moved to linux folder --- linux/conf/logrotate.d/postgresql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 linux/conf/logrotate.d/postgresql (limited to 'linux/conf/logrotate.d/postgresql') 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 +} -- cgit 1.4.1-2-gfad0