From 0760253ebd78b734a2263b3cbd8e8628a5b3485d Mon Sep 17 00:00:00 2001 From: Aleksandr Borisenko Date: Thu, 24 Jan 2019 11:27:33 +0300 Subject: [PATCH] xmpp: fix default directory for generated certs --- prosody/rootfs/etc/cont-init.d/10-config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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