From a235af06d0d26b786e280a3bc16d67f7e22e54d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 19 Feb 2019 10:26:47 +0100 Subject: [PATCH] prosody: ignore errors when moving certificates In case we have moved them before, for example. --- prosody/rootfs/etc/cont-init.d/10-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosody/rootfs/etc/cont-init.d/10-config b/prosody/rootfs/etc/cont-init.d/10-config index f3e7173..45efdbb 100644 --- a/prosody/rootfs/etc/cont-init.d/10-config +++ b/prosody/rootfs/etc/cont-init.d/10-config @@ -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