prosody: ignore errors when moving certificates

In case we have moved them before, for example.
This commit is contained in:
Saúl Ibarra Corretgé
2019-02-19 10:26:47 +01:00
parent b8faa26e75
commit a235af06d0

View File

@@ -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