Add planet-import-complete file during imports

This commit is contained in:
Alexander Overvoorde committed 2019-10-12 12:21:10 +02:00
1 parent 40ebaf7934
commit ca4b1acb04
1 file changed
+3
+3
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