X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/77b59a98a45c63cacee7a0684699b121eaed83dc..aff3fbe6802d93a8deae8fa2637589c8d28f6681:/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 5c19b31bb..a14042e47 100644 --- a/cookbooks/nominatim/templates/default/logrotate.nominatim.erb +++ b/cookbooks/nominatim/templates/default/logrotate.nominatim.erb @@ -10,14 +10,12 @@ create 640 nominatim adm } - -/var/log/php5-fpm.log { +/var/log/nominatim/query.log { weekly missingok - rotate 3 + rotate 52 compress delaycompress - postrotate - /usr/bin/service php5-fpm restart > /dev/null - endscript + notifempty + create 640 www-data adm }