Browse Source

Try a delay

Bob Mottram 8 years ago
parent
commit
b5fb76b2fc
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/freedombone-app-xmpp

+ 2
- 0
src/freedombone-app-xmpp View File

@@ -677,6 +677,8 @@ function install_xmpp_main {
677 677
 
678 678
     systemctl restart prosody
679 679
 
680
+    sleep 5
681
+
680 682
     prosodyctl register $MY_USERNAME $DEFAULT_DOMAIN_NAME "$XMPP_PASSWORD"
681 683
     if [ ! "$?" = "0" ]; then
682 684
         echo ''