From Fedora Project Wiki

< User:Jmlich

Revision as of 15:13, 3 March 2015 by Jmlich (talk | contribs) (Created page with " I needed to enable out of db rasters in postgis. Here is easy way how to do it using systemd dropin configuration. sudo -i mkdir -p /etc/systemd/system/postgresql.service....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

I needed to enable out of db rasters in postgis. Here is easy way how to do it using systemd dropin configuration.

sudo -i
mkdir -p /etc/systemd/system/postgresql.service.d
echo <<<EOF
[Service]
Environment=POSTGIS_ENABLE_OUTDB_RASTERS=1
Environment=POSTGIS_GDAL_ENABLED_DRIVERS=ENABLE_ALL
EOF > /etc/systemd/system/postgresql.service.d/dropin.conf
systemctl daemon-reload
systemctl restart postgresql