X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2cbbd3f2b8bed8cf096170137045d9721452745d..8d2b8f1a0ab843825784d1e8d65429c8367f0847:/cookbooks/nominatim/templates/default/logrotate.nominatim.erb?ds=sidebyside 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 +}