Add logrotate configuration
This commit is contained in:
20
roles/pvc/templates/system/pvc.j2
Normal file
20
roles/pvc/templates/system/pvc.j2
Normal file
@ -0,0 +1,20 @@
|
||||
/var/log/pvc/*.log {
|
||||
weekly
|
||||
rotate 8
|
||||
copytruncate
|
||||
delaycompress
|
||||
compress
|
||||
notifempty
|
||||
missingok
|
||||
su root root
|
||||
}
|
||||
/var/log/pvc/*/*.log {
|
||||
weekly
|
||||
rotate 8
|
||||
copytruncate
|
||||
delaycompress
|
||||
compress
|
||||
notifempty
|
||||
missingok
|
||||
su root root
|
||||
}
|
Reference in New Issue
Block a user