Only renew certs when ! --stop

This commit is contained in:
Derek Smith 2023-03-27 11:05:20 -04:00
parent 79924633f5
commit 7a710d0916
Signed by: farscapian
GPG Key ID: B443E530A14E1C90

View File

@ -99,8 +99,10 @@ if [ "$RESTART_FRONT_END" = true ]; then
# generate the certs and grab a backup
if [ "$RUN_CERT_RENEWAL" = true ] && [ "$RESTORE_CERTS" = false ]; then
if [ "$STOP_SERVICES" = false ]; then
./generate_certs.sh
fi
fi
# let's backup all our letsencrypt certs
export APP="letsencrypt"