X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/20470a64f04ff1fc122fc5b214c9fc44b364bcee..77b59a98a45c63cacee7a0684699b121eaed83dc:/cookbooks/nominatim/templates/default/logrotate.nominatim.erb diff --git a/cookbooks/nominatim/templates/default/logrotate.nominatim.erb b/cookbooks/nominatim/templates/default/logrotate.nominatim.erb index 6a8412ba3..5c19b31bb 100644 --- a/cookbooks/nominatim/templates/default/logrotate.nominatim.erb +++ b/cookbooks/nominatim/templates/default/logrotate.nominatim.erb @@ -7,5 +7,17 @@ compress delaycompress notifempty - create 640 root adm + create 640 nominatim adm +} + + +/var/log/php5-fpm.log { + weekly + missingok + rotate 3 + compress + delaycompress + postrotate + /usr/bin/service php5-fpm restart > /dev/null + endscript }