|
|
@ -31,6 +31,6 @@ if [[ ! -f /config/certs/$XMPP_AUTH_DOMAIN.crt ]]; then |
|
|
|
echo | prosodyctl --config $PROSODY_CFG cert generate $XMPP_AUTH_DOMAIN |
|
|
|
echo | prosodyctl --config $PROSODY_CFG cert generate $XMPP_AUTH_DOMAIN |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# certs vill be created in /var/lib/prosody |
|
|
|
# certs will be created in /config/data |
|
|
|
mv /var/lib/prosody/*.{crt,key} /config/certs/ |
|
|
|
mv /config/data/*.{crt,key} /config/certs/ |
|
|
|
rm -f /var/lib/prosody/*.cnf |
|
|
|
rm -f /config/data/*.cnf |
|
|
|