summaryrefslogtreecommitdiffstats
path: root/standalone/src/main/assembly/bin/docker-env-config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'standalone/src/main/assembly/bin/docker-env-config.sh')
-rw-r--r--standalone/src/main/assembly/bin/docker-env-config.sh3
1 files changed, 2 insertions, 1 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..."
}