From 6c8d09082efada82e3ded215a728f6772fea2237 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 2 Jan 2016 15:21:56 +0000 Subject: [PATCH] No letsencrypt renewals scripts for onion only installs --- src/freedombone | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone b/src/freedombone index 5ac03f4d..854367a2 100755 --- a/src/freedombone +++ b/src/freedombone @@ -1680,6 +1680,10 @@ function get_cjdns_password { # script to automatically renew any Let's Encrypt certificates function letsencrypt_renewals { + if [[ $ONION_ONLY != "no" ]]; then + return + fi + renewals_script=/etc/cron.monthly/letsencrypt renewals_retry_script=/etc/cron.daily/letsencrypt renewal_failure_msg=$'The certificate for $LETSENCRYPT_DOMAIN could not be renewed'