diff --git a/evoacme/files/certbot.cron b/evoacme/files/certbot.cron index 2d8d4c1d..a16bcf69 100755 --- a/evoacme/files/certbot.cron +++ b/evoacme/files/certbot.cron @@ -9,6 +9,6 @@ [ -f /etc/default/evoacme ] && . /etc/default/evoacme CRT_DIR="${CRT_DIR:-'/etc/letsencrypt'}" -find "${CRT_DIR}" -maxdepth 1 -mindepth 1 -type d ! -path "*accounts" ! -path "*hooks" -printf "%f\n" | while read vhost; do - QUIET=1 evoacme "$vhost" -done +export QUIET=1 + +find "${CRT_DIR}" -maxdepth 1 -mindepth 1 -type d ! -path "*accounts" ! -path "*hooks" -printf "%f\n" | xargs -n1 evoacme