X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4905aae927c0671d2b8e5b5c9665122fb39b0877..b0e841d7ff50e5c5bea3a3417737c272b09dcd86:/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 +}