From 51a6087726de83e667061b3a97194e94ea130779 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Wed, 7 Feb 2018 21:38:31 +0100 Subject: [PATCH] nominatim: add restricted_ips.log to log rotation --- .../templates/default/logrotate.nominatim.erb | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 +} -- 2.43.2