From 31f3a141d18a47a4189b640501c1ae35f817db73 Mon Sep 17 00:00:00 2001 From: Riaan van den Dool Date: Tue, 23 Feb 2016 17:27:56 +0200 Subject: [PATCH] Enable PostGIS Out DB raster support http://postgis.net/2015/05/02/tip_enable_raster_drivers/ http://postgis.net/docs/postgis_installation.html#install_short_version --- start-postgis.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"