Update run.sh
Add upgrade of PostGIS extensions
This commit is contained in:
parent
f415088e21
commit
d25c9db36c
6
run.sh
6
run.sh
@ -104,10 +104,10 @@ if [ "$1" = "upgrade" ]; then
|
|||||||
# Initialize PostgreSQL
|
# Initialize PostgreSQL
|
||||||
createPostgresConfig
|
createPostgresConfig
|
||||||
service postgresql start
|
service postgresql start
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Upgrade PostGIS
|
||||||
|
sudo -u postgres psql -d gis -c "SELECT PostGIS_Extensions_Upgrade();"
|
||||||
|
|
||||||
service postgresql stop
|
service postgresql stop
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user