From 0e5396faa7e2c7ae1e31dd4283059f314d92ca90 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Tue, 24 Oct 2017 17:37:15 +0200 Subject: [PATCH] change from CRON to QUIET --- evoacme/files/certbot.cron | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/evoacme/files/certbot.cron b/evoacme/files/certbot.cron index 60007b4c..48289e09 100755 --- a/evoacme/files/certbot.cron +++ b/evoacme/files/certbot.cron @@ -9,8 +9,6 @@ [ -f /etc/default/evoacme ] && . /etc/default/evoacme CRT_DIR="${CRT_DIR:-'/etc/letsencrypt'}" -export CRON=1 - -find "${CRT_DIR}" -maxdepth 1 -mindepth 1 -type d ! -path "*accounts" -exec basename {} \; | while read vhost; do - evoacme "$vhost" +find "${CRT_DIR}" -maxdepth 1 -mindepth 1 -type d ! -path "*accounts" ! -path "*hooks" -exec basename {} \; | while read vhost; do + QUIET=1 evoacme "$vhost" done