#!/usr/bin/env bash
cp -fr ${WP_SITE_DOMAIN_NAME}/letsencrypt /etc && \
certbot-auto renew && \
cp -fr /etc/letsencrypt ${WP_SITE_DOMAIN_NAME} && \
echo "Ran renew `date`" >> /var/log/renew.log
#!/usr/bin/env bash
cp -fr ${WP_SITE_DOMAIN_NAME}/letsencrypt /etc && \
certbot-auto renew && \
cp -fr /etc/letsencrypt ${WP_SITE_DOMAIN_NAME} && \
echo "Ran renew `date`" >> /var/log/renew.log