traefik-cert-dumper/post-hook.sh

2 lines
83 B
Bash

find /output/ -depth -type d ! -name "${DOMAIN}" ! -name "." -execdir rm -r "{}" +