Skip to content

Commit

Permalink
Changes as per review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
reshmabidikar committed Mar 18, 2024
1 parent 6eb1137 commit 8969d67
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/templates/kaui/latest/setenv2.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Java Properties
export CATALINA_OPTS="$CATALINA_OPTS
"
if [ -z ${KAUI_SECRET_KEY_BASE+x} ]; then
export KAUI_SECRET_KEY_BASE=$(head -c 1024 /dev/urandom | base64 | tr -cd "[:upper:][:digit:]" | head -c 129)
fi "

#
# Load legacy properties (backward compatibility)
Expand All @@ -17,6 +20,3 @@ fi
if [ ! -z ${KAUI_CONFIG_DAO_PASSWORD+x} ]; then
export KAUI_DB_PASSWORD=$KAUI_CONFIG_DAO_PASSWORD
fi
if [ -z ${KAUI_SECRET_KEY_BASE+x} ]; then
export KAUI_SECRET_KEY_BASE=$(head -c 1024 /dev/urandom | base64 | tr -cd "[:upper:][:digit:]" | head -c 129)
fi

0 comments on commit 8969d67

Please sign in to comment.