[ejabberd] blending hot code load and modules

Brian Acton acton at whatsapp.com
Tue Apr 20 22:07:05 MSD 2010

hi guys,

i've been writing modules for ejabberd and one of the pain points for me has
been the inability to use hot code load.

the normal procedures that I have tried have been

$ ejabberdctl debug
1> mod_last:stop().
<push new code to ebin>
2> mod_last:start().


$ ejabberdctl debug
1> gen_mod:stop_module(Host, mod_last)
<push new code to ebin>
2> gen_mod:start_module(Host, mod_last, []).

can anyone enlighten me as to why the above would not work ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20100420/de2402f3/attachment.html>

More information about the ejabberd mailing list