5 lines
322 B
Bash
5 lines
322 B
Bash
while ! [ -e /traefik/production-acme.json ] || ! [ `jq ".production.Certificates | length" /traefik/production-acme.json` != 0 ]; do
|
|
sleep 1
|
|
; done
|
|
&& traefik-certs-dumper file --watch --source /traefik/production-acme.json --dest /output --domain-subdir=true --version v2 --post-hook "/opt/post-hook.sh"
|