parent
4b93ca3e52
commit
1e684edb6a
2
run.sh
2
run.sh
@ -80,7 +80,7 @@ if [ "$1" = "import" ]; then
|
|||||||
|
|
||||||
#Import external data
|
#Import external data
|
||||||
sudo chown -R renderer: /home/renderer/src
|
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
|
# Register that data has changed for mod_tile caching purposes
|
||||||
touch /var/lib/mod_tile/planet-import-complete
|
touch /var/lib/mod_tile/planet-import-complete
|
||||||
|
Loading…
Reference in New Issue
Block a user