Skip to content

Commit

Permalink
Added E flag (#217)
Browse files Browse the repository at this point in the history
Added -E flag to use the set up environment.
  • Loading branch information
schteph authored Oct 11, 2021
1 parent 4b93ca3 commit 1e684ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ if [ "$1" = "import" ]; then

#Import external data
sudo chown -R renderer: /home/renderer/src
sudo -u renderer python3 /home/renderer/src/openstreetmap-carto/scripts/get-external-data.py -c /home/renderer/src/openstreetmap-carto/external-data.yml -D /home/renderer/src/openstreetmap-carto/data
sudo -E -u renderer python3 /home/renderer/src/openstreetmap-carto/scripts/get-external-data.py -c /home/renderer/src/openstreetmap-carto/external-data.yml -D /home/renderer/src/openstreetmap-carto/data

# Register that data has changed for mod_tile caching purposes
touch /var/lib/mod_tile/planet-import-complete
Expand Down

0 comments on commit 1e684ed

Please sign in to comment.