changed certbot path generation check to CertbotDomain vs useCertbot

This commit is contained in:
Asif Bacchus 2019-01-07 21:15:41 -07:00
parent 79ae19d99f
commit 77dec20433
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ if [ "${useCertbot}" -eq 1 ]; then
fi
# Generate paths from CertbotDomain
if [ "${useCertbot}" -eq 1 ]; then
if [ "${CertbotDomain}" -eq 1 ]; then
CertPath="/etc/letsencrypt/live/${CertbotDomain}/fullchain.pem"
KeyPath="/etc/letsencrypt/live/${CertbotDomain}/privkey.pem"
CAChainPath="/etc/letsencrypt/live/${CertbotDomain}/chain.pem"