From: Harvie Date: Sun, 9 Jan 2011 00:30:17 +0000 (+0100) Subject: Added Ejabberd shell notes X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=bcfeedf1a2471b3b86873ee96582e2e7b510d6bd;p=mirrors%2FKyberia-bloodline.git Added Ejabberd shell notes --- diff --git a/cron/ejabberd_sync.php b/cron/ejabberd_sync.php index 8bb6290..8b36b0c 100755 --- a/cron/ejabberd_sync.php +++ b/cron/ejabberd_sync.php @@ -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"}). + */