Преглед на файлове

prosody: ignore errors when moving certificates

In case we have moved them before, for example.
Saúl Ibarra Corretgé преди 6 години
родител
ревизия
a235af06d0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      prosody/rootfs/etc/cont-init.d/10-config

+ 1 - 1
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