postgresql: logrotate with dateext and right permissions
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
This commit is contained in:
parent
48e3ced983
commit
6c4243f3e1
1 changed files with 2 additions and 3 deletions
|
@ -1,11 +1,10 @@
|
|||
/var/log/postgresql/*.log {
|
||||
su postgres adm
|
||||
daily
|
||||
rotate 10
|
||||
copytruncate
|
||||
nodelaycompress
|
||||
compress
|
||||
notifempty
|
||||
missingok
|
||||
su root root
|
||||
dateext
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue