From: Sarah Hoffmann Date: Wed, 7 Feb 2018 20:38:31 +0000 (+0100) Subject: nominatim: add restricted_ips.log to log rotation X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/51a6087726de83e667061b3a97194e94ea130779 nominatim: add restricted_ips.log to log rotation --- diff --git a/cookbooks/nominatim/templates/default/logrotate.nominatim.erb b/cookbooks/nominatim/templates/default/logrotate.nominatim.erb index 7097e432d..0aa8644a2 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 640 nominatim adm +}