Update start-postgis.sh

pull/33/head
ANCELIN Julien 2015-02-18 15:25:39 +01:00
rodzic 2e2528b7d0
commit b18f3edf02
1 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -2,11 +2,11 @@
# This script will run as the postgres user due to the Dockerfile USER directive
DATADIR="/var/lib/postgresql/9.3/main"
CONF="/etc/postgresql/9.3/main/postgresql.conf"
POSTGRES="/usr/lib/postgresql/9.3/bin/postgres"
INITDB="/usr/lib/postgresql/9.3/bin/initdb"
SQLDIR="/usr/share/postgresql/9.3/contrib/postgis-2.1/"
DATADIR="/var/lib/postgresql/9.4/main"
CONF="/etc/postgresql/9.4/main/postgresql.conf"
POSTGRES="/usr/lib/postgresql/9.4/bin/postgres"
INITDB="/usr/lib/postgresql/9.4/bin/initdb"
SQLDIR="/usr/share/postgresql/9.4/contrib/postgis-2.1/"
# test if DATADIR is existent
if [ ! -d $DATADIR ]; then