evoacme: exclude typical certbot directories
This commit is contained in:
parent
88bdf270d7
commit
19b2da5b92
|
@ -16,6 +16,7 @@ The **patch** part changes incrmentally at each release.
|
||||||
### Changed
|
### Changed
|
||||||
* Changelog: explain the versioning scheme
|
* Changelog: explain the versioning scheme
|
||||||
* Changelog: add a release date for 9.1.5
|
* Changelog: add a release date for 9.1.5
|
||||||
|
* evoacme: exclude typical certbot directories
|
||||||
|
|
||||||
## [9.1.5] - 2018-01-18
|
## [9.1.5] - 2018-01-18
|
||||||
|
|
||||||
|
|
|
@ -11,5 +11,16 @@ CRT_DIR="${CRT_DIR:-'/etc/letsencrypt'}"
|
||||||
|
|
||||||
export QUIET=1
|
export QUIET=1
|
||||||
|
|
||||||
find "${CRT_DIR}" -maxdepth 1 -mindepth 1 -type d ! -path "*accounts" ! -path "*hooks" -printf "%f\n" \
|
find "${CRT_DIR}" \
|
||||||
| xargs --max-args=1 --no-run-if-empty evoacme
|
-maxdepth 1 \
|
||||||
|
-mindepth 1 \
|
||||||
|
-type d \
|
||||||
|
! -path "*accounts" \
|
||||||
|
! -path "*archive" \
|
||||||
|
! -path "*csr" \
|
||||||
|
! -path "*hooks" \
|
||||||
|
! -path "*keys" \
|
||||||
|
! -path "*live" \
|
||||||
|
! -path "*renewal" \
|
||||||
|
-printf "%f\n" \
|
||||||
|
| xargs --max-args=1 --no-run-if-empty evoacme
|
||||||
|
|
Loading…
Reference in a new issue