adding sleep to let ejabberd catch up with its new config
authorChris Sharp <csharp@georgialibraries.org>
Wed, 13 Apr 2016 18:59:51 +0000 (14:59 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 13 Apr 2016 18:59:51 +0000 (14:59 -0400)
install-eg/install_eg.sh

index 4244e4e..2f389cc 100755 (executable)
@@ -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