prosody: ignore errors when moving certificates

In case we have moved them before, for example.
pull/29/head
Saúl Ibarra Corretgé 6 years ago
parent b8faa26e75
commit a235af06d0
  1. 2
      prosody/rootfs/etc/cont-init.d/10-config

@ -35,5 +35,5 @@ if [[ ! -f /config/certs/$XMPP_AUTH_DOMAIN.crt ]]; then
fi
# certs will be created in /config/data
mv /config/data/*.{crt,key} /config/certs/
mv /config/data/*.{crt,key} /config/certs/ || true
rm -f /config/data/*.cnf

Loading…
Cancel
Save