X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2cbbd3f2b8bed8cf096170137045d9721452745d..a5a3b8b5d676e4e7c46f5124325d2ca799bee76f:/cookbooks/nominatim/templates/default/logrotate.nominatim.erb?ds=inline diff --git a/cookbooks/nominatim/templates/default/logrotate.nominatim.erb b/cookbooks/nominatim/templates/default/logrotate.nominatim.erb index 7097e432d..b5e9d2ac3 100644 --- a/cookbooks/nominatim/templates/default/logrotate.nominatim.erb +++ b/cookbooks/nominatim/templates/default/logrotate.nominatim.erb @@ -19,3 +19,13 @@ notifempty create 640 www-data adm } + +<%= node[:nominatim][:logdir] %>/restricted_ips.log { + weekly + missingok + rotate 5 + compress + delaycompress + notifempty + create 660 nominatim adm +}