Allow passing DHPARAM_BITS via env, lower bits to 256 for unit tests

This commit is contained in:
Steve Kamerman committed 2017-01-12 14:55:25 -05:00
1 parent dffc0c47cf
commit 7d253dd0f3
3 files changed
+10 -5

No files matched your search

+2 -1
View File
@@ -15,7 +15,8 @@ if [[ $DOCKER_HOST = unix://* ]]; then
fi
# Generate dhparam file if required
/app/generate-dhparam.sh
# Note: if $DHPARAM_BITS is not defined, generate-dhparam.sh will use 2048 as a default
/app/generate-dhparam.sh $DHPARAM_BITS
# If the user has run the default command and the socket doesn't exist, fail
if [ "$socketMissing" = 1 -a "$1" = forego -a "$2" = start -a "$3" = '-r' ]; then