Skip to content

Commit

Permalink
Update mw.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Oct 1, 2024
1 parent 96a0ca9 commit 2c3746c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/init.d/mw.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,9 @@ mw_connect_pgdb(){


pwd=$(cd ${ROOT_PATH}/mdserver-web && python3 ${ROOT_PATH}/mdserver-web/plugins/postgresql/index.py root_pwd)
echo "${ROOT_PATH}/postgresql/bin/psql -U postgres -W "${pwd}""
${ROOT_PATH}/postgresql/bin/psql -U postgres -W
export PGPASSWORD=${pwd}
echo "${ROOT_PATH}/postgresql/bin/psql -U postgres -W"
echo "\n" | ${ROOT_PATH}/postgresql/bin/psql -U postgres -W
}


Expand Down

0 comments on commit 2c3746c

Please sign in to comment.