From bcfeedf1a2471b3b86873ee96582e2e7b510d6bd Mon Sep 17 00:00:00 2001 From: Harvie Date: Sun, 9 Jan 2011 01:30:17 +0100 Subject: [PATCH] Added Ejabberd shell notes --- cron/ejabberd_sync.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"}). + */ -- 2.30.2