+
+<%= node[:nominatim][:logdir] %>/query.log {
+ weekly
+ missingok
+ rotate 8
+ compress
+ delaycompress
+ notifempty
+<% if node[:nominatim][:api_flavour] == "python" %>
+ postrotate
+ systemctl reload nominatim.service
+ endscript
+<% end -%>
+ create 640 www-data adm
+}