File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1421,7 +1421,7 @@ if [ "$postgresql" = 'yes' ]; then
14211421 ppass=$( gen_pass)
14221422 cp -f $HESTIA_INSTALL_DIR /postgresql/pg_hba.conf /etc/postgresql/* /main/
14231423 systemctl restart postgresql
1424- sudo -u postgres psql -c " ALTER USER postgres WITH PASSWORD '$ppass '"
1424+ sudo -iu postgres psql -c " ALTER USER postgres WITH PASSWORD '$ppass '"
14251425
14261426 # Configuring phpPgAdmin
14271427 if [ " $apache " = ' yes' ]; then
Original file line number Diff line number Diff line change @@ -1375,7 +1375,7 @@ if [ "$postgresql" = 'yes' ]; then
13751375 ppass=$( gen_pass)
13761376 cp -f $HESTIA_INSTALL_DIR /postgresql/pg_hba.conf /etc/postgresql/* /main/
13771377 systemctl restart postgresql
1378- sudo -u postgres psql -c " ALTER USER postgres WITH PASSWORD '$ppass '"
1378+ sudo -iu postgres psql -c " ALTER USER postgres WITH PASSWORD '$ppass '"
13791379
13801380 # Configuring phpPgAdmin
13811381 if [ " $apache " = ' yes' ]; then
You can’t perform that action at this time.
0 commit comments