X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/20470a64f04ff1fc122fc5b214c9fc44b364bcee..719d5e33dbd0c8aed11e5260d7784a2b613699bd:/cookbooks/nominatim/templates/default/updater.erb diff --git a/cookbooks/nominatim/templates/default/updater.erb b/cookbooks/nominatim/templates/default/updater.erb index beea8c8ac..aba7f72aa 100644 --- a/cookbooks/nominatim/templates/default/updater.erb +++ b/cookbooks/nominatim/templates/default/updater.erb @@ -6,7 +6,7 @@ DIR="$( cd "$( dirname "$0" )" && pwd )" cd $DIR/.. -while true +while [ ! -f "<%= @update_stop_file %>" ] do # Send output to the log (logrotatable) exec >> /var/log/nominatim/update.log 2>&1