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,11 +1,10 @@
|
||||||
/var/log/postgresql/*.log {
|
/var/log/postgresql/*.log {
|
||||||
|
su postgres adm
|
||||||
daily
|
daily
|
||||||
rotate 10
|
rotate 10
|
||||||
copytruncate
|
copytruncate
|
||||||
nodelaycompress
|
nodelaycompress
|
||||||
compress
|
compress
|
||||||
notifempty
|
|
||||||
missingok
|
missingok
|
||||||
su root root
|
dateext
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue