]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/updater.erb
Expect munin to use an IPv6 socket
[chef.git] / cookbooks / nominatim / templates / default / updater.erb
index d5ba2e0bec89e9653b881f3819c76c7017f3b9b4..ade5845aa6fda850f5d16801cef83c1afb012d3e 100644 (file)
@@ -34,4 +34,9 @@ do
     fi
     popd
 <% end -%>
+
+    if [ -f "<%= @update_maintenance_trigger %>" ]; then
+        rm <%= @update_maintenance_trigger %>
+        ./utils/update.php --calculate-postcodes
+    fi
 done