Skip to content

Commit 1d0b848

Browse files
committed
Bump postgres version
1 parent a69f42e commit 1d0b848

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

postgres-setup.sh

+1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ sudo bash -c 'echo bgwriter_lru_maxpages=0 >> /etc/postgresql/'$POSTGRES_VERSION
1717
sudo sed -i 's/md5/trust/' /etc/postgresql/$POSTGRES_VERSION/main/pg_hba.conf
1818
sudo sed -i 's/peer/trust/' /etc/postgresql/$POSTGRES_VERSION/main/pg_hba.conf
1919
sudo sed -i -e "s/^max_connections = 100.*$/max_connections = $MAX_CONNECTIONS/" /etc/postgresql/$POSTGRES_VERSION/main/postgresql.conf
20+
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
2021
sudo systemctl start postgresql

0 commit comments

Comments
 (0)