X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6131b08d957d6808a57ba6647e5e60a057ee1e5a..dda736cb32c650afe6d18c1fa311c4b68c1e0fde:/cookbooks/nominatim/templates/default/updater.erb?ds=sidebyside diff --git a/cookbooks/nominatim/templates/default/updater.erb b/cookbooks/nominatim/templates/default/updater.erb index 2f75b4199..beea8c8ac 100644 --- a/cookbooks/nominatim/templates/default/updater.erb +++ b/cookbooks/nominatim/templates/default/updater.erb @@ -2,15 +2,14 @@ # DO NOT EDIT - This file is being maintained by Chef -# Send output to the log -exec >> /var/log/nominatim/update.log 2>&1 - # Change to Nominatim directory DIR="$( cd "$( dirname "$0" )" && pwd )" cd $DIR/.. while true do + # Send output to the log (logrotatable) + exec >> /var/log/nominatim/update.log 2>&1 starttime=`date +%s` ./utils/update.php --no-npi --import-osmosis