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

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

626
 
626
 
627
     systemctl restart prosody
627
     systemctl restart prosody
628
 
628
 
629
+    sleep 5
630
+
629
     prosodyctl register $MY_USERNAME $DEFAULT_DOMAIN_NAME "$XMPP_PASSWORD"
631
     prosodyctl register $MY_USERNAME $DEFAULT_DOMAIN_NAME "$XMPP_PASSWORD"
630
     if [ ! "$?" = "0" ]; then
632
     if [ ! "$?" = "0" ]; then
631
         echo ''
633
         echo ''