[ejabberd] ejabberdctl.template patches

Martin Langhoff martin.langhoff at gmail.com
Mon Jan 25 20:06:37 MSK 2010


On Thu, Jan 7, 2010 at 7:11 PM, Badlop <badlop at gmail.com> wrote:
>> I can try to make a patch that DTRT if flock is available, for
>> example. Won't add it as a formal dependency, but it will DTRT on
>> linuxen without making things worse for anyone else. Would that move
>> things forward?
>
> Good idea:
>
> When ejabberdctl is called to execute some command,
> it checks if flock (or jot/whatever) is available.
> If so, it builds a nice nodename using that tool.
> Otherwise it goes to fallback mode: uses a simple method to get the nodename.

I've got a WIP patch for this, ported and tidied up the implementation
I have on 2.0.3.

There's also a patch for a tiny typo introduced recently.

Test / feedback / merge?

cheers,


m
--
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ejabberctl.template-fix-typo.patch
Type: application/octet-stream
Size: 751 bytes
Desc: not available
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20100125/6654f84e/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ejabberdctl-support-concurrent-connections-with-boun.patch
Type: application/octet-stream
Size: 4465 bytes
Desc: not available
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20100125/6654f84e/attachment-0003.obj>


More information about the ejabberd mailing list