aboutsummaryrefslogtreecommitdiffstats
path: root/standalone/src/main/assembly/resources/bin/initDB.sh
diff options
context:
space:
mode:
authorhekeguang <hekeguang@chinamobile.com>2020-03-10 20:33:04 +0800
committerhekeguang <hekeguang@chinamobile.com>2020-03-10 20:33:45 +0800
commitfb2de9c6846507e8ee8ea12d59d75212bfbd1271 (patch)
treee25dc433328ab275ebcb2f744bf9bd66ff722815 /standalone/src/main/assembly/resources/bin/initDB.sh
parentaedfcf68e086e3ca13b108bc344821f15a0e3540 (diff)
Modify the startup related scripts to support the no root startup of the container!2.0.2
Issue-ID: USECASEUI-402 Change-Id: I96ee14d885b16a32b5539b803537c08d568ac080 Signed-off-by: hekeguang <hekeguang@chinamobile.com>
Diffstat (limited to 'standalone/src/main/assembly/resources/bin/initDB.sh')
-rw-r--r--standalone/src/main/assembly/resources/bin/initDB.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/standalone/src/main/assembly/resources/bin/initDB.sh b/standalone/src/main/assembly/resources/bin/initDB.sh
index 97e65ad3..cdfa4b5c 100644
--- a/standalone/src/main/assembly/resources/bin/initDB.sh
+++ b/standalone/src/main/assembly/resources/bin/initDB.sh
@@ -23,9 +23,9 @@ user_pg=$3
user_uui=$4
echo "setting postgres database password"
-su - $user_pg <<EOF
+#su - $user_pg <<EOF
psql --command "alter user $user_pg with password '$user_pg';"
-EOF
+#EOF
echo "start create usecase-ui database..."
dbscripts_path="$main_path/resources/dbscripts/postgres"