Skip to content

Commit

Permalink
Merge pull request #264 from vnandwana/master
Browse files Browse the repository at this point in the history
Added KAUI_SECRET_KEY_BASE to setenv2.sh
  • Loading branch information
pierre authored Apr 8, 2024
2 parents 16de220 + fe79795 commit b7eda3a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ansible/templates/kaui/conf/setenv2.sh.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Java Properties

export CATALINA_OPTS="$CATALINA_OPTS
{{ kaui_system_properties }}"

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 b7eda3a

Please sign in to comment.