mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-05 14:19:56 -05:00
Disabling JIT for map database as recommended by mod_tile because of excess memory usgae.
This commit is contained in:
parent
f9ed86e31a
commit
af5d4dfd51
5 changed files with 10 additions and 2 deletions
|
|
@ -27,6 +27,8 @@ systemctl stop renderd
|
|||
|
||||
# Create new cluster for the map.
|
||||
pg_createcluster 15 map --port=5433 --start
|
||||
# Disable JIT as recommended by mod_tile
|
||||
sed -i 's/#jit =.*/jit = off/' /etc/postgresql/15/map/postgresql.conf
|
||||
|
||||
# Create user permissions for map user.
|
||||
sudo -iu postgres psql -c '\l' --port=5433 | grep gis || (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue