Update run.sh

update command according to ldez/traefik-certs-dumper
master
Youri Tolstoy 5 years ago committed by GitHub
parent d6cebcd102
commit bfe4798e06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,7 +3,7 @@
function dump() { function dump() {
echo "$(date) Dumping certificates" echo "$(date) Dumping certificates"
traefik-certs-dumper dump --crt-name "cert" --crt-ext ".pem" --key-name "key" --key-ext ".pem" --domain-subdir=true --dest /tmp/work --source /traefik/acme.json > /dev/null traefik-certs-dumper file --crt-name "cert" --crt-ext ".pem" --key-name "key" --key-ext ".pem" --domain-subdir --dest /tmp/work --source /traefik/acme.json > /dev/null
if diff -q /tmp/work/${DOMAIN}/cert.pem /output/cert.pem >/dev/null && \ if diff -q /tmp/work/${DOMAIN}/cert.pem /output/cert.pem >/dev/null && \
diff -q /tmp/work/${DOMAIN}/key.pem /output/key.pem >/dev/null ; then diff -q /tmp/work/${DOMAIN}/key.pem /output/key.pem >/dev/null ; then

Loading…
Cancel
Save