Browse Source

evoacme: use -printf instead of -exec basename

haproxy_munin
Victor LABORIE 3 years ago
parent
commit
b801bdb576
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      evoacme/files/certbot.cron

+ 1
- 1
evoacme/files/certbot.cron View File

@ -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…
Cancel
Save