]> git.openstreetmap.org Git - chef.git/blob - cookbooks/nominatim/templates/default/logrotate.nominatim.erb
set LANG for nominatim munin script to make python happy
[chef.git] / cookbooks / nominatim / templates / default / logrotate.nominatim.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 /var/log/nominatim/update.log {
4   weekly
5   missingok
6   rotate 12
7   compress
8   delaycompress
9   notifempty
10   create 640 nominatim adm
11 }
12
13 /var/log/nominatim/query.log {
14   weekly
15   missingok
16   rotate 52
17   compress
18   delaycompress
19   notifempty
20   create 640 www-data adm
21 }
22 <% if node[:lsb][:release].to_f < 14.04 -%>
23
24 /var/log/php5-fpm.log {
25   weekly
26   missingok
27   rotate 3
28   compress
29   delaycompress
30   postrotate
31     /usr/bin/service php5-fpm restart > /dev/null
32   endscript
33 }
34 <% end -%>