]> git.openstreetmap.org Git - chef.git/blob - cookbooks/nominatim/templates/default/logrotate.apache.erb
nominatim: reduce number of logs kept
[chef.git] / cookbooks / nominatim / templates / default / logrotate.apache.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 /var/log/apache2/*.log {
4   weekly
5   missingok
6   rotate 6
7   compress
8   delaycompress
9   notifempty
10   create 640 root adm
11   sharedscripts
12   postrotate
13     if /etc/init.d/apache2 status > /dev/null ; then \
14         /etc/init.d/apache2 reload > /dev/null; \
15     fi;
16   endscript
17 }