This commit is contained in:
parent
5d14d166eb
commit
ada326f2d8
@ -498,6 +498,8 @@ echo \
|
||||
[ ! "${PROPOGATION_TIME_MULTI}" = "${!ORIGPROPOGATION_TIME_MULTI}" ]
|
||||
then
|
||||
|
||||
echo ""
|
||||
|
||||
echo "Configuration has changed since certificate ${x} was last issued. Revoking and regenerating cert ${x}"
|
||||
FIRST_DOMAIN_MULTI=$(echo ${!ORIGDOMAINS_MULTI} | cut -d \, -f1)
|
||||
|
||||
@ -551,6 +553,8 @@ echo \
|
||||
# Update config file with new cert-specific env vars
|
||||
echo -e "ORIGDOMAINS_${x}=\"${DOMAINS_MULTI}\" ORIGEMAIL_${x}=\"${EMAIL_MULTI}\" ORIGSTAGING_${x}=\"${STAGING_MULTI}\" ORIGCUSTOM_CA_${x}=\"${CUSTOM_CA_MULTI}\" ORIGCUSTOM_CA_SERVER_${x}=\"${CUSTOM_CA_SERVER_MULTI}\" ORIGPLUGIN_${x}=\"${PLUGIN_MULTI}\" ORIGPROPOGATION_TIME_${x}=\"${PROPOGATION_TIME_MULTI}\"" > /config/.donoteditthisfile_cert_${x}
|
||||
|
||||
echo ""
|
||||
|
||||
if [ ! -z ${CUSTOM_CA_MULTI} ]
|
||||
then
|
||||
|
||||
@ -758,5 +762,7 @@ fi
|
||||
|
||||
echo "$INTERVAL /certbot-renew.sh >> /config/logs/renew.log" > /config/.crontab.txt
|
||||
|
||||
echo ""
|
||||
|
||||
echo "Starting automatic renewal job. Schedule is $INTERVAL"
|
||||
crontab /config/.crontab.txt
|
Loading…
x
Reference in New Issue
Block a user