prosody: ignore errors when moving certificates
In case we have moved them before, for example.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user