From 1cd436bc5d4032eef712ad84e22de8d2b85d9e27 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 1 Oct 2024 18:19:54 +0800 Subject: [PATCH] Update mw.tpl --- scripts/init.d/mw.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/init.d/mw.tpl b/scripts/init.d/mw.tpl index 6708aa6e7..e3a3983d5 100755 --- a/scripts/init.d/mw.tpl +++ b/scripts/init.d/mw.tpl @@ -437,8 +437,8 @@ 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/pgsql -U postgres root -p"${pwd}"" - ${ROOT_PATH}/postgresql/bin/pgsql -U postgres root -p"${pwd}" + echo "${ROOT_PATH}/postgresql/bin/psql -U postgres root -p"${pwd}"" + ${ROOT_PATH}/postgresql/bin/psql -U postgres root -p"${pwd}" }