X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/0da50ac02ab3efd4d66d6fc71d03534345c21344..bb1bb78e6ccae116df30a38ebcbc5fd4153764c0:/cookbooks/nominatim/templates/default/logrotate.apache.erb diff --git a/cookbooks/nominatim/templates/default/logrotate.apache.erb b/cookbooks/nominatim/templates/default/logrotate.apache.erb index fc57f8156..8835397f3 100644 --- a/cookbooks/nominatim/templates/default/logrotate.apache.erb +++ b/cookbooks/nominatim/templates/default/logrotate.apache.erb @@ -13,3 +13,18 @@ /bin/systemctl reload apache2 endscript } + + +<%= node[:nominatim][:logdir] %>/nominatim.openstreetmap.org-access.log { + daily + missingok + rotate 42 + compress + delaycompress + notifempty + create 640 root adm + sharedscripts + postrotate + /bin/systemctl reload apache2 + endscript +}