|
@@ -627,14 +627,6 @@ function install_xmpp_main {
|
627
|
627
|
fi
|
628
|
628
|
fi
|
629
|
629
|
|
630
|
|
- prosodyctl register $MY_USERNAME $DEFAULT_DOMAIN_NAME "$XMPP_PASSWORD"
|
631
|
|
- if [ ! "$?" = "0" ]; then
|
632
|
|
- echo $'Unable to register prosody user'
|
633
|
|
- exit 347682
|
634
|
|
- fi
|
635
|
|
-
|
636
|
|
- ${PROJECT_NAME}-pass -u $MY_USERNAME -a xmpp -p "$XMPP_PASSWORD"
|
637
|
|
-
|
638
|
630
|
function_check configure_firewall_for_xmpp
|
639
|
631
|
configure_firewall_for_xmpp
|
640
|
632
|
xmpp_email_headers
|
|
@@ -648,6 +640,14 @@ function install_xmpp_main {
|
648
|
640
|
|
649
|
641
|
systemctl restart prosody
|
650
|
642
|
|
|
643
|
+ prosodyctl register $MY_USERNAME $DEFAULT_DOMAIN_NAME "$XMPP_PASSWORD"
|
|
644
|
+ if [ ! "$?" = "0" ]; then
|
|
645
|
+ echo $'Unable to register prosody user'
|
|
646
|
+ exit 347682
|
|
647
|
+ fi
|
|
648
|
+
|
|
649
|
+ ${PROJECT_NAME}-pass -u $MY_USERNAME -a xmpp -p "$XMPP_PASSWORD"
|
|
650
|
+
|
651
|
651
|
install_completed xmpp_main
|
652
|
652
|
}
|
653
|
653
|
|