diff options
author | zhangab <zhanganbing@chinamobile.com> | 2019-04-11 15:08:22 +0800 |
---|---|---|
committer | zhangab <zhanganbing@chinamobile.com> | 2019-04-11 15:08:25 +0800 |
commit | 07938ced8696fd185b896bae13a24cf5b77ccda4 (patch) | |
tree | 654290299a80dcbf7f3ad1b23387ff6414b21bc3 /standalone | |
parent | 152ed52e54ebd31d936a678405daf819281511c9 (diff) |
Fix initDB script execution error
Change-Id: Ic80aaa08acd1dcb2ab228fd12da4f992c7bba048
Issue-ID: USECASEUI-256
Signed-off-by: zhangab <zhanganbing@chinamobile.com>
Diffstat (limited to 'standalone')
-rw-r--r-- | standalone/src/main/assembly/bin/run.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/standalone/src/main/assembly/bin/run.sh b/standalone/src/main/assembly/bin/run.sh index 66e0749b..57b49897 100644 --- a/standalone/src/main/assembly/bin/run.sh +++ b/standalone/src/main/assembly/bin/run.sh @@ -22,10 +22,11 @@ echo "Starting postgreSQL..." service postgresql start sleep 10 -echo "running usecase-ui database init script..." +echo "usecase-ui database init script start..." dbScript="$main_path/resources/bin/initDB.sh" chmod 755 $dbScript -$dbScript postgres postgres 127.0.0.1 5432 postgres +source $dbScript postgres postgres 127.0.0.1 5432 postgres +echo "usecase-ui database init script finished normally..." JAVA_PATH="$JAVA_HOME/bin/java" JAVA_OPTS="-Xms50m -Xmx128m" |