diff options
author | Instrumental <jonathan.gathman@att.com> | 2019-02-07 16:36:56 -0600 |
---|---|---|
committer | Instrumental <jonathan.gathman@att.com> | 2019-02-07 16:37:00 -0600 |
commit | 27afb0201ce717c25d8ffcc50f8b4972fc98f5c5 (patch) | |
tree | fcc70c64abc1b5741f92b65b354ea009f5fc4175 /auth/auth-cass/cass_init/cmd.sh | |
parent | e2fa0e67712b92c69f6863afe10c1c973a068e3e (diff) |
Refine properties for non-root
Issue-ID: AAF-698
Change-Id: I266f0e36842fb506dbb3e412e12eedf64e24418a
Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/auth-cass/cass_init/cmd.sh')
-rw-r--r-- | auth/auth-cass/cass_init/cmd.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/auth/auth-cass/cass_init/cmd.sh b/auth/auth-cass/cass_init/cmd.sh index ffaf182d..ba55648e 100644 --- a/auth/auth-cass/cass_init/cmd.sh +++ b/auth/auth-cass/cass_init/cmd.sh @@ -33,6 +33,7 @@ fi # Always need startup status... if [ ! -e "$DIR" ]; then mkdir -p "$DIR" + chmod 777 $DIR fi function status { @@ -134,7 +135,7 @@ case "$1" in # Startup like normal echo "Cassandra Startup" - /usr/local/bin/docker-entrypoint.sh + exec /usr/local/bin/docker-entrypoint.sh ;; wait) # Wait for initialization. This can be called from Docker only as a check to make sure it is ready @@ -148,7 +149,7 @@ case "$1" in # Startup like normal echo "Cassandra Startup" - /usr/local/bin/docker-entrypoint.sh + exec /usr/local/bin/docker-entrypoint.sh ;; esac |