|
|
|
|
1680
|
|
1680
|
|
1681
|
# script to automatically renew any Let's Encrypt certificates
|
1681
|
# script to automatically renew any Let's Encrypt certificates
|
1682
|
function letsencrypt_renewals {
|
1682
|
function letsencrypt_renewals {
|
|
|
1683
|
+ if [[ $ONION_ONLY != "no" ]]; then
|
|
|
1684
|
+ return
|
|
|
1685
|
+ fi
|
|
|
1686
|
+
|
1683
|
renewals_script=/etc/cron.monthly/letsencrypt
|
1687
|
renewals_script=/etc/cron.monthly/letsencrypt
|
1684
|
renewals_retry_script=/etc/cron.daily/letsencrypt
|
1688
|
renewals_retry_script=/etc/cron.daily/letsencrypt
|
1685
|
renewal_failure_msg=$'The certificate for $LETSENCRYPT_DOMAIN could not be renewed'
|
1689
|
renewal_failure_msg=$'The certificate for $LETSENCRYPT_DOMAIN could not be renewed'
|