]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/logrotate.nominatim.erb
dulcy: switch to postgresql 12
[chef.git] / cookbooks / nominatim / templates / default / logrotate.nominatim.erb
index 7097e432d3987fdc709b8f7077348b1fc9d8013e..e1fc714162514a83c357b44f8789fc13bc521bcb 100644 (file)
@@ -3,7 +3,7 @@
 <%= node[:nominatim][:logdir] %>/update.log {
   weekly
   missingok
-  rotate 5
+  rotate 30
   compress
   delaycompress
   notifempty
   notifempty
   create 640 www-data adm
 }
+
+<%= node[:nominatim][:logdir] %>/restricted_ips.log {
+  weekly
+  missingok
+  rotate 5
+  compress
+  delaycompress
+  notifempty
+  create 660 nominatim adm
+}