nominatim: add restricted_ips.log to log rotation
[chef.git] / 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
+}