No letsencrypt renewals scripts for onion only installs
This commit is contained in:
parent
d2ab7bbe18
commit
6c8d09082e
|
@ -1680,6 +1680,10 @@ function get_cjdns_password {
|
||||||
|
|
||||||
# script to automatically renew any Let's Encrypt certificates
|
# script to automatically renew any Let's Encrypt certificates
|
||||||
function letsencrypt_renewals {
|
function letsencrypt_renewals {
|
||||||
|
if [[ $ONION_ONLY != "no" ]]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
renewals_script=/etc/cron.monthly/letsencrypt
|
renewals_script=/etc/cron.monthly/letsencrypt
|
||||||
renewals_retry_script=/etc/cron.daily/letsencrypt
|
renewals_retry_script=/etc/cron.daily/letsencrypt
|
||||||
renewal_failure_msg=$'The certificate for $LETSENCRYPT_DOMAIN could not be renewed'
|
renewal_failure_msg=$'The certificate for $LETSENCRYPT_DOMAIN could not be renewed'
|
||||||
|
|
Loading…
Reference in New Issue