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

Attachment: ejabberd-sysconfig.patch
Description: Binary data

_______________________________________________
Server-devel mailing list
[email protected]
http://lists.laptop.org/listinfo/server-devel

Reply via email to