]> git.openstreetmap.org Git - chef.git/blob - cookbooks/nominatim/templates/default/logrotate.nominatim.erb
set owner/group for php-fpm sockets
[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 <% if node[:lsb][:release].to_f < 14.04 -%>
13
14 /var/log/php5-fpm.log {
15   weekly
16   missingok
17   rotate 3
18   compress
19   delaycompress
20   postrotate
21     /usr/bin/service php5-fpm restart > /dev/null
22   endscript
23 }
24 <% end -%>