Skip to content

Commit

Permalink
Add planet-import-complete file during imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Overv committed Oct 12, 2019
1 parent 40ebaf7 commit ca4b1ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca4b1ac

Please sign in to comment.