nominatim: add restricted_ips.log to log rotation
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 7 Feb 2018 20:38:31 +0000 (21:38 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 7 Feb 2018 20:38:31 +0000 (21:38 +0100)
cookbooks/nominatim/templates/default/logrotate.nominatim.erb

index 7097e432d3987fdc709b8f7077348b1fc9d8013e..0aa8644a2f7d9b7e80757ce575738e1b1d1471e7 100644 (file)
   notifempty
   create 640 www-data adm
 }
+
+<%= node[:nominatim][:logdir] %>/restricted_ips.log {
+  weekly
+  missingok
+  rotate 5
+  compress
+  delaycompress
+  notifempty
+  create 640 nominatim adm
+}