From e9a470cee6e8142ba233abecb717967c2a9999f5 Mon Sep 17 00:00:00 2001 From: Deon George Date: Tue, 22 Oct 2024 22:31:33 +1100 Subject: [PATCH] Fix ssl dir path for lego renewal --- ssl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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