diff options
Diffstat (limited to 'tools/conf/etc/logrotate.d/postgresql')
-rw-r--r-- | tools/conf/etc/logrotate.d/postgresql | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/conf/etc/logrotate.d/postgresql b/tools/conf/etc/logrotate.d/postgresql new file mode 100644 index 0000000..8c16bfa --- /dev/null +++ b/tools/conf/etc/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 +} |