Only renew certs when ! --stop
This commit is contained in:
parent
79924633f5
commit
7a710d0916
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user