]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/logrotate.apache.erb
dulcy: switch to postgresql 12
[chef.git] / cookbooks / nominatim / templates / default / logrotate.apache.erb
index fc57f8156e2ec734ba160d935664750df72d5f08..8835397f3081a2a0e2611d3f9c1d67acf31ccb8d 100644 (file)
     /bin/systemctl reload apache2
   endscript
 }
     /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
+}