X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/fa701fc119f67c4c7626ac07f2e081f249106305..b7c12630cb9de017d76fe60ff296534d6d061399:/cookbooks/nominatim/templates/default/nominatim-update-data.erb?ds=inline diff --git a/cookbooks/nominatim/templates/default/nominatim-update-data.erb b/cookbooks/nominatim/templates/default/nominatim-update-data.erb index 733c38105..00870711f 100644 --- a/cookbooks/nominatim/templates/default/nominatim-update-data.erb +++ b/cookbooks/nominatim/templates/default/nominatim-update-data.erb @@ -8,7 +8,7 @@ cd <%= @projectdir %> # First execute any maintenance task that may be there. -for task in `find <%= @bindir %>/maintenance -type f`; do +for task in `find <%= @bindir %>/maintenance -type f,l`; do date "+%c === Running maintenance task ${task}" . ${task} rm ${task} @@ -27,4 +27,4 @@ else INST=2 fi -nominatim replication --catch-up --threads $INST +<%= @venvprefix %>nominatim replication --catch-up --threads $INST