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