|
@@ -1,18 +1,6 @@
|
|
#!/bin/bash
|
|
#!/bin/bash
|
|
|
|
|
|
-#for fist run
|
|
|
|
-#python3 -m venv env
|
|
|
|
-#source env/bin/activate
|
|
|
|
-#pip3 install -t requirements
|
|
|
|
-
|
|
|
|
-#activate env before:
|
|
|
|
-#source env/bin/activate
|
|
|
|
-
|
|
|
|
-#https://democonv.sharix-app.org/ - testing client
|
|
|
|
-#users recommended for testing
|
|
|
|
-#user: test@ej.sharix-app.org
|
|
|
|
-#user: test1@ej.sharix-app.org
|
|
|
|
-
|
|
|
|
|
|
+#берем список ботов и паролей к ним и создаем или апдейтим пользователей (если уже созданы) на сервере
|
|
python3 gen-passwords.py | while IFS=' ' read -ra line; do ejabberdctl register ${line[0]} ej.sharix-app.org ${line[1]}; done;
|
|
python3 gen-passwords.py | while IFS=' ' read -ra line; do ejabberdctl register ${line[0]} ej.sharix-app.org ${line[1]}; done;
|
|
python3 gen-passwords.py | while IFS=' ' read -ra line; do ejabberdctl change-password ${line[0]} ej.sharix-app.org ${line[1]}; done;
|
|
python3 gen-passwords.py | while IFS=' ' read -ra line; do ejabberdctl change-password ${line[0]} ej.sharix-app.org ${line[1]}; done;
|
|
#ejabberdctl register $username ej $password
|
|
#ejabberdctl register $username ej $password
|
|
@@ -25,15 +13,3 @@ python3 gen-passwords.py | while IFS=' ' read -ra line; do ejabberdctl change-pa
|
|
#ejabberdctl registered_users localhost
|
|
#ejabberdctl registered_users localhost
|
|
#ejabberdctl help registered_userst
|
|
#ejabberdctl help registered_userst
|
|
|
|
|
|
-#берем список ботов и паролей к ним и создаем или апдейтим пользователей (если уже созданы) на сервере
|
|
|
|
-
|
|
|
|
-#Create MUC room
|
|
|
|
-#ejabberdctl create_room room_name muc_service xmpp_domain
|
|
|
|
-
|
|
|
|
-#Destroy MUC room
|
|
|
|
-#ejabberdctl destroy_room room_name muc_service
|
|
|
|
-#
|
|
|
|
-#List unused MUC rooms
|
|
|
|
-#ejabberdctl rooms_unused_list xmpp_domain number_of_days
|
|
|
|
-
|
|
|
|
-#https://docs.ejabberd.im/admin/ejabberdctl/muc-admin/
|
|
|