Update run.sh

This commit is contained in:
galewis2 2022-07-21 11:41:28 -04:00 committed by GitHub
parent 8d78738a4b
commit 6ca53a4e60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
run.sh
View File

@ -81,7 +81,7 @@ if [ "$1" == "import" ]; then
REPLICATION_TIMESTAMP=`osmium fileinfo -g header.option.osmosis_replication_timestamp /data/region.osm.pbf` REPLICATION_TIMESTAMP=`osmium fileinfo -g header.option.osmosis_replication_timestamp /data/region.osm.pbf`
# initial setup of osmosis workspace (for consecutive updates) # initial setup of osmosis workspace (for consecutive updates)
sudo -u renderer openstreetmap-tiles-update-expire.sh $REPLICATION_TIMESTAMP sudo -E -u renderer openstreetmap-tiles-update-expire.sh $REPLICATION_TIMESTAMP
fi fi
# copy polygon file if available # copy polygon file if available