diff options
Diffstat (limited to 'system/postgresql/postgresql.logrotate')
-rw-r--r-- | system/postgresql/postgresql.logrotate | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/system/postgresql/postgresql.logrotate b/system/postgresql/postgresql.logrotate index 11ce787a9e..d68ccf71bc 100644 --- a/system/postgresql/postgresql.logrotate +++ b/system/postgresql/postgresql.logrotate @@ -1,8 +1,9 @@ /var/log/postgresql { - postrotate - /etc/rc.d/rc.postgresql reload 2>&1 > /dev/null - endscript - size=100k - rotate 5 - create 0640 postgres wheel + daily + rotate 7 + copytruncate + delaycompress + compress + notifempty + missingok } |