diff options
author | 2021-09-07 10:10:45 +0800 | |
---|---|---|
committer | 2021-09-07 10:10:56 +0800 | |
commit | 2b484d866c4f6da6aa9caaed201923e52faab2d2 (patch) | |
tree | eb9a147a1a43066030c483c5f4d7a55dd5a6127f /standalone/src/main/assembly/bin | |
parent | 0b41cd024b473019f80164ddffe18872dd6465ad (diff) |
UUI needs to use integration-java 11:9.0.0 image.
Issue-ID: USECASEUI-604
Change-Id: Ic1f04b1a5c98a5d460fc2abe08c8cbe14575164c
Signed-off-by: hekeguang <hekeguang@chinamobile.com>
Diffstat (limited to 'standalone/src/main/assembly/bin')
-rw-r--r-- | standalone/src/main/assembly/bin/docker-env-config.sh | 3 | ||||
-rw-r--r-- | standalone/src/main/assembly/bin/run.sh | 5 | ||||
-rw-r--r-- | standalone/src/main/assembly/bin/stop.sh | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/standalone/src/main/assembly/bin/docker-env-config.sh b/standalone/src/main/assembly/bin/docker-env-config.sh index 04559ba3..8e583b10 100644 --- a/standalone/src/main/assembly/bin/docker-env-config.sh +++ b/standalone/src/main/assembly/bin/docker-env-config.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # Copyright 2020 CMCC Corporation. # @@ -31,6 +31,7 @@ modify_owner() { chown -R postgres:postgres $PG_VAR_LIB chown -R postgres:postgres $PG_USR_LIB chown -R postgres:postgres $PG_LOGDIR + chmod -R 0700 $PG_HOME echo "modify files owner..." } diff --git a/standalone/src/main/assembly/bin/run.sh b/standalone/src/main/assembly/bin/run.sh index bb0789b9..42249fa4 100644 --- a/standalone/src/main/assembly/bin/run.sh +++ b/standalone/src/main/assembly/bin/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # Copyright 2016-2017 ZTE Corporation. # @@ -19,7 +19,8 @@ main_path="/home/uui" echo @main_path@ $main_path echo "Starting postgreSQL..." -service postgresql start +#service postgresql start +postmaster -D /usr/share/postgresql/data & sleep 10 echo "usecase-ui database init script start..." diff --git a/standalone/src/main/assembly/bin/stop.sh b/standalone/src/main/assembly/bin/stop.sh index 598f976b..10b4d550 100644 --- a/standalone/src/main/assembly/bin/stop.sh +++ b/standalone/src/main/assembly/bin/stop.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # Copyright 2018 CMCC Corporation. # |