We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d0b848 commit 128b107Copy full SHA for 128b107
postgres-setup.sh
@@ -17,5 +17,5 @@ sudo bash -c 'echo bgwriter_lru_maxpages=0 >> /etc/postgresql/'$POSTGRES_VERSION
17
sudo sed -i 's/md5/trust/' /etc/postgresql/$POSTGRES_VERSION/main/pg_hba.conf
18
sudo sed -i 's/peer/trust/' /etc/postgresql/$POSTGRES_VERSION/main/pg_hba.conf
19
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';"
21
sudo systemctl start postgresql
+sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
0 commit comments