diff --git a/start-postgis.sh b/start-postgis.sh index 802b799..f7c637b 100755 --- a/start-postgis.sh +++ b/start-postgis.sh @@ -131,4 +131,5 @@ su - postgres -c "psql -l" PID=`cat /var/run/postgresql/9.4-main.pid` kill -9 ${PID} echo "Postgres initialisation process completed .... restarting in foreground" -exec su - postgres -c "$POSTGRES -D $DATADIR -c config_file=$CONF" +SETVARS="POSTGIS_ENABLE_OUTDB_RASTERS=1 POSTGIS_GDAL_ENABLED_DRIVERS=ENABLE_ALL" +su - postgres -c "$SETVARS $POSTGRES -D $DATADIR -c config_file=$CONF"