1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-08-10 22:31:47 +02:00

Update run.sh

update command according to ldez/traefik-certs-dumper
This commit is contained in:
Youri Tolstoy
2019-07-15 14:05:59 +02:00
committed by GitHub
parent d6cebcd102
commit bfe4798e06

View File

@@ -3,7 +3,7 @@
function dump() {
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 && \
diff -q /tmp/work/${DOMAIN}/key.pem /output/key.pem >/dev/null ; then