diff --git a/ssl.sh b/ssl.sh index e30d476..89cf027 100755 --- a/ssl.sh +++ b/ssl.sh @@ -50,9 +50,9 @@ elif [ "$1" == "lego" ]; then fi if [ "$2" == "renew" ]; then - lego ${LEGO_METHOD} --email="${LEGO_ACCOUNT_EMAIL}" ${LEGO_CERT_DOMAIN[@]} --path ${CERTDIR}/ssl/lego renew --renew-hook="touch ${RELOAD}" + lego ${LEGO_METHOD} --email="${LEGO_ACCOUNT_EMAIL}" ${LEGO_CERT_DOMAIN[@]} --path ${CERTDIR}/lego renew --renew-hook="touch ${RELOAD}" elif [ "$2" == "run" ]; then - lego ${LEGO_METHOD} --email="${LEGO_ACCOUNT_EMAIL}" ${LEGO_CERT_DOMAIN[@]} --path ${CERTDIR}/ssl/lego run --run-hook="touch ${RELOAD}" + lego ${LEGO_METHOD} --email="${LEGO_ACCOUNT_EMAIL}" ${LEGO_CERT_DOMAIN[@]} --path ${CERTDIR}/lego run --run-hook="touch ${RELOAD}" else echo "! ERROR: Not doing anything?" && exit 1 fi