Skip to content

Commit 3facd5c

Browse files
committed
Docker Container Startup: Fix typo which failed to auto-generate the secret key on first launch. Fixes #202.
1 parent df942fd commit 3facd5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/container-start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if [ ! -f /opt/xyops/conf/config.json ]; then
1818
mkdir -p /opt/xyops/conf
1919
cp -a /opt/xyops/sample_conf/. /opt/xyops/conf/
2020
secret_key=$(openssl rand -hex 16)
21-
printf '{ "secret_key": "%s" }\n' "$secret" > /opt/xyops/conf/overrides.json
21+
printf '{ "secret_key": "%s" }\n' "$secret_key" > /opt/xyops/conf/overrides.json
2222
fi
2323

2424
# the path to xyops entrypoint, including options

0 commit comments

Comments
 (0)