From ca4b1acb04e35ca7251f69b7e68cc87fce59c34d Mon Sep 17 00:00:00 2001 From: Alexander Overvoorde Date: Sat, 12 Oct 2019 12:21:02 +0200 Subject: [PATCH] Add planet-import-complete file during imports --- run.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run.sh b/run.sh index 3f6c9a3..38c2d0c 100755 --- a/run.sh +++ b/run.sh @@ -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