restart postgres to activate max_connections

This commit is contained in:
Trevor Batley 2023-11-08 09:24:40 +11:00
parent 6f85299a71
commit a8f05a020e

View File

@ -178,7 +178,7 @@ EOF
# increase the max connections as koji appears to be very chatty # increase the max connections as koji appears to be very chatty
sed -i "/^max_connections =/ s/100/1000/" "/var/lib/pgsql/data/postgresql.conf" sed -i "/^max_connections =/ s/100/1000/" "/var/lib/pgsql/data/postgresql.conf"
systemctl reload postgresql systemctl restart postgresql
# Bootstrapping the initial koji admin user into the PostgreSQL database # Bootstrapping the initial koji admin user into the PostgreSQL database
# SSL Certificate authentication # SSL Certificate authentication