diff options
author | punk <punk@libernaut> | 2021-04-29 16:11:04 +0100 |
---|---|---|
committer | punk <punk@libernaut> | 2021-04-29 16:11:25 +0100 |
commit | 9bef2e2b7ea351b6b1cb490597356677db61ff34 (patch) | |
tree | c36ae24aa3c36f6c19284c7d4da7c25a620bfabf /linux/conf/logrotate.d/postgresql | |
parent | 6b5cf63d1987889e272643bf7eeb7725df856d11 (diff) | |
parent | 5e601f7ee14830ef645ee3d3b1bcdce7450a5ce3 (diff) | |
download | doc-9bef2e2b7ea351b6b1cb490597356677db61ff34.tar.gz |
Diffstat (limited to 'linux/conf/logrotate.d/postgresql')
-rw-r--r-- | linux/conf/logrotate.d/postgresql | 10 |
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 +} |