Added Ejabberd shell notes
authorHarvie <tomas@mudrunka.cz>
Sun, 9 Jan 2011 00:30:17 +0000 (01:30 +0100)
committerHarvie <tomas@mudrunka.cz>
Sun, 9 Jan 2011 00:30:17 +0000 (01:30 +0100)
cron/ejabberd_sync.php

index 8bb629082b7499b0b44a7ce883deae6dc336047c..8b36b0cd402687f0257b9f07895b5900093a3c2f 100755 (executable)
@@ -5,7 +5,7 @@
  * Call as needed
  */
 
-//$echo='echo '; //Test only...
+$echo='echo '; //Test only...
 $jabber_domain=escapeshellarg('kyberia.cz');
 
 // Use relative address of config file
@@ -38,3 +38,7 @@ while($set->next()) {
        system($echo."ejabberdctl set-password $user $jabber_domain $pass"); //needs mod_ctlextra installed in ejabberd
 }
 
+/* ejabberdctl debug:
+ * mnesia:dirty_read(passwd, {"harvie", "kyberia.cz"}).
+ * mnesia:dirty_write({passwd, {"harvie", "kyberia.cz"}, "HESLOO"}).
+ */
This page took 0.151574 seconds and 4 git commands to generate.