mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7185: Change Apache2 log rotation policy to avoid memory leak
This commit is contained in:
parent
4746f93038
commit
2ff7b846fd
|
|
@ -1,13 +1,9 @@
|
|||
/var/log/apache2/*.log {
|
||||
daily
|
||||
missingok
|
||||
rotate 5
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
create 640 root adm
|
||||
sharedscripts
|
||||
postrotate
|
||||
/etc/init.d/apache2 reload > /dev/null
|
||||
endscript
|
||||
missingok
|
||||
copytruncate
|
||||
rotate 3
|
||||
compress
|
||||
dateext
|
||||
size=+10M
|
||||
notifempty
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue