diff --git a/prosody/rootfs/etc/cont-init.d/10-config b/prosody/rootfs/etc/cont-init.d/10-config index f5ac27f..b55a4d5 100644 --- a/prosody/rootfs/etc/cont-init.d/10-config +++ b/prosody/rootfs/etc/cont-init.d/10-config @@ -31,6 +31,6 @@ if [[ ! -f /config/certs/$XMPP_AUTH_DOMAIN.crt ]]; then echo | prosodyctl --config $PROSODY_CFG cert generate $XMPP_AUTH_DOMAIN fi -# certs vill be created in /var/lib/prosody -mv /var/lib/prosody/*.{crt,key} /config/certs/ -rm -f /var/lib/prosody/*.cnf +# certs will be created in /config/data +mv /config/data/*.{crt,key} /config/certs/ +rm -f /config/data/*.cnf