Add planet-import-complete file during imports

This commit is contained in:
Alexander Overvoorde 2019-10-12 12:21:02 +02:00
parent 40ebaf7934
commit ca4b1acb04

3
run.sh
View File

@ -61,6 +61,9 @@ if [ "$1" = "import" ]; then
# Create indexes
sudo -u postgres psql -d gis -f indexes.sql
# Register that data has changed for mod_tile caching purposes
touch /var/lib/mod_tile/planet-import-complete
service postgresql stop
exit 0