Add planet-import-complete file during imports
This commit is contained in:
parent
40ebaf7934
commit
ca4b1acb04
3
run.sh
3
run.sh
@ -61,6 +61,9 @@ if [ "$1" = "import" ]; then
|
|||||||
# Create indexes
|
# Create indexes
|
||||||
sudo -u postgres psql -d gis -f indexes.sql
|
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
|
service postgresql stop
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user