[Server-devel] ejabberd sysconfig patch

Douglas Bagnall douglas at paradise.net.nz
Sun Oct 12 20:44:48 EDT 2008


This patch to Collabora's OLPC ejabberd-rpm package makes
/etc/init.d/ejabberd look for (and, if possible, incorporate)
/etc/sysconfig/ejabberd.  Two options can be set there:

 - CONFIG_FILE gives an alternative to /etc/ejabberd/ejabberd.cfg
 - ULIMIT_MAX_FILES sets the number of open files (using ulimit -n).

The latter is useful to anyone running a popular ejabberd server (you
have to do this, one way or another), while the config redirection
decouples the OLPC specific configuration from the ejabberd package.

Peter: would you consider taking this upstream?  It would make life
easier for OLPC (which we need) and no doubt for others too.

Collabora people: I've been using the XS git branch.  If I understand
correctly, without the specialised ejabberd.cfg, the only patch we
have over Fedora is recent_online_and_nearby_groups_updated.diff:

http://git.collabora.co.uk/?p=user/cassidy/ejabberd-rpm;a=blob;f=recent_online_and_nearby_groups_updated.diff;h=7138ad4a1a55dace867b76c683163dfc71d9f4d3

and if that gets absorbed or obsoleted, then we could be back on the
F-9 rpm?  Or should I be looking at the push-groups or patch-extra
branches, and this is a futile idea?


Douglas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ejabberd-sysconfig.patch
Type: application/octet-stream
Size: 4033 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/server-devel/attachments/20081013/e98679c4/attachment.obj 


More information about the Server-devel mailing list