xmpp: fix startup script if directory exists

This commit is contained in:
Saúl Ibarra Corretgé 2018-08-17 10:51:37 +02:00
parent 366bd3e4fe
commit 94a620baff
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ if [[ ! -f $PROSODY_CFG ]]; then
prosodyctl --config $PROSODY_CFG register $JICOFO_AUTH_USER $XMPP_AUTH_DOMAIN $JICOFO_AUTH_PASSWORD
fi
mkdir /config/certs
mkdir -p /config/certs
if [[ ! -f /config/certs/$XMPP_DOMAIN.crt ]]; then
# echo for using all default values