Update run.sh

Add upgrade of PostGIS extensions
This commit is contained in:
Olivier DEBAUCHE authored and GitHub committed 2021-06-12 15:02:06 +02:00
1 parent f415088e21
commit d25c9db36c
1 file changed
+3 -3
+3 -3
View File
@@ -104,10 +104,10 @@ if [ "$1" = "upgrade" ]; then
# Initialize PostgreSQL
createPostgresConfig
service postgresql start
# Upgrade PostGIS
sudo -u postgres psql -d gis -c "SELECT PostGIS_Extensions_Upgrade();"
service postgresql stop
exit 0