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 7097e43..0aa8644 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
+}