Parcourir la source

Restart prosody before registering an account

Bob Mottram il y a 10 ans
Parent
révision
840c5d3bbf
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      install-freedombone.sh

+ 1
- 1
install-freedombone.sh Voir le fichier

@@ -1728,8 +1728,8 @@ function install_xmpp {
1728 1728
   sed -i 's/--"bosh";/"bosh";/g' /etc/prosody/prosody.cfg.lua
1729 1729
   sed -i 's/authentication = "internal_plain"/authentication = "internal_hashed"' /etc/prosody/prosody.cfg.lua
1730 1730
 
1731
-  prosodyctl register $MY_USERNAME $DOMAIN_NAME $XMPP_PASSWORD
1732 1731
   service prosody restart
1732
+  prosodyctl register $MY_USERNAME $DOMAIN_NAME $XMPP_PASSWORD
1733 1733
   echo 'Change your XMPP password using:' >> /home/$MY_USERNAME/README
1734 1734
   echo '' >> /home/$MY_USERNAME/README
1735 1735
   echo "    prosodyctl new_password $MY_USERNAME@$DOMAIN_NAME" >> /home/$MY_USERNAME/README