Try a delay
This commit is contained in:
parent
16c3735400
commit
b5fb76b2fc
|
@ -677,6 +677,8 @@ function install_xmpp_main {
|
||||||
|
|
||||||
systemctl restart prosody
|
systemctl restart prosody
|
||||||
|
|
||||||
|
sleep 5
|
||||||
|
|
||||||
prosodyctl register $MY_USERNAME $DEFAULT_DOMAIN_NAME "$XMPP_PASSWORD"
|
prosodyctl register $MY_USERNAME $DEFAULT_DOMAIN_NAME "$XMPP_PASSWORD"
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
echo ''
|
echo ''
|
||||||
|
|
Loading…
Reference in New Issue