change from CRON to QUIET

This commit is contained in:
Jérémy Lecour 2017-10-24 17:37:15 +02:00 committed by Jérémy Lecour
parent e7987d9b99
commit 0e5396faa7

View file

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