Skip to content

Commit 128b107

Browse files
committed
Bump postgres version
1 parent 1d0b848 commit 128b107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgres-setup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +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';"
2120
sudo systemctl start postgresql
21+
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"

0 commit comments

Comments
 (0)