Skip to content

Commit ca4b1ac

Browse files
committed
Add planet-import-complete file during imports
1 parent 40ebaf7 commit ca4b1ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

run.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ if [ "$1" = "import" ]; then
6161
# Create indexes
6262
sudo -u postgres psql -d gis -f indexes.sql
6363

64+
# Register that data has changed for mod_tile caching purposes
65+
touch /var/lib/mod_tile/planet-import-complete
66+
6467
service postgresql stop
6568

6669
exit 0

0 commit comments

Comments
 (0)