read params file early for cert existance checks
This commit is contained in:
parent
78a3efd5ca
commit
de5ce23b4e
@ -63,6 +63,9 @@ if [ ! -f "./ab-nginx.params" ]; then
|
||||
exit 3
|
||||
fi
|
||||
|
||||
# read .params file
|
||||
. ./ab-nginx.params
|
||||
|
||||
# check for certs if using SSL
|
||||
if [ "$SSL_CERT" ]; then
|
||||
if [ ! -f "$SSL_CERT" ]; then
|
||||
@ -121,9 +124,6 @@ while [ $# -gt 0 ]; do
|
||||
shift
|
||||
done
|
||||
|
||||
# read .params file
|
||||
. ./ab-nginx.params
|
||||
|
||||
|
||||
# run without TLS
|
||||
if [ -z "$SSL_CERT" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user