# DO NOT EDIT - This file is being maintained by Chef
/var/log/apache2/*.log {
- weekly
+ daily
missingok
- rotate 8
+ rotate 42
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
- if /etc/init.d/apache2 status > /dev/null ; then \
- /etc/init.d/apache2 reload > /dev/null; \
- fi;
+ /bin/systemctl reload apache2
+ endscript
+}
+
+
+<%= node[:nominatim][:logdir] %>/nominatim.openstreetmap.org-access.log {
+ daily
+ missingok
+ rotate 42
+ compress
+ delaycompress
+ notifempty
+ create 640 root adm
+ sharedscripts
+ postrotate
+ /bin/systemctl reload apache2
endscript
}