No letsencrypt renewals scripts for onion only installs

This commit is contained in:
Bob Mottram 2016-01-02 15:21:56 +00:00
parent d2ab7bbe18
commit 6c8d09082e
1 changed files with 4 additions and 0 deletions

View File

@ -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'