forked from evolix/ansible-roles
evoacme: use -printf instead of -exec basename
This commit is contained in:
parent
cf190a76ff
commit
b801bdb576
|
@ -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" -exec basename {} \; | while read vhost; do
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue