From: Chris Sharp Date: Wed, 13 Apr 2016 18:59:51 +0000 (-0400) Subject: adding sleep to let ejabberd catch up with its new config X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e88616f20aedf4e60857ae8a6020e9519aa13377;p=contrib%2Fpines.git adding sleep to let ejabberd catch up with its new config --- diff --git a/install-eg/install_eg.sh b/install-eg/install_eg.sh index 4244e4e..2f389cc 100755 --- a/install-eg/install_eg.sh +++ b/install-eg/install_eg.sh @@ -95,6 +95,7 @@ $EJABBERD_STOP cp -b $EJABBERD_CFG $EJABBERD_CONFIG_FILE chown ejabberd:ejabberd $EJABBERD_CONFIG_FILE $EJABBERD_START +sleep 4 for host in private public; do for user in opensrf router; do ejabberdctl register $user ${host}.localhost $OSRF_PASSWORD