Add instructions to configure newer ejabberd version. user/csharp/fedora_21_readme_change
authorChris Sharp <csharp@georgialibraries.org>
Fri, 6 Mar 2015 21:46:37 +0000 (16:46 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 6 Mar 2015 21:46:37 +0000 (16:46 -0500)
Fedora 21 includes ejabberd version 14, which uses a YAML
file in place of the now-legacy ejabberd.cfg erlang file.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
README

diff --git a/README b/README
index 38aff45..cc81d44 100644 (file)
--- a/README
+++ b/README
@@ -188,7 +188,7 @@ work for OpenSRF.
 systemctl stop ejabberd.service
 ---------------------------------------------------------------------------
 +
-2. Open `/etc/ejabberd/ejabberd.cfg` and make the following
+2a. (Debian/Ubuntu) Open `/etc/ejabberd/ejabberd.cfg` and make the following
 changes:
   a. Define your public and private domains in the `hosts` directive. For
    example:
@@ -202,6 +202,20 @@ changes:
   d. Increase the `max_user_sessions` value to 10000
   e. Comment out the `mod_offline` directive
 +
+2b. (Fedora) Open `/etc/ejabberd/ejabberd.yml` and make the following changes:
+  a. Define your public and private domains in the `hosts` section:
++
+---------------------------------------------------------------------------
+hosts:
+  - "localhost"
+  - "private.localhost"
+  - "public.localhost"
+---------------------------------------------------------------------------
++
+  b. Change the `max_stanza_size` value to 2000000
+  c. Increase the `max_user_sessions` value to 10000
+  d. Change the `normal` and `fast` values in the `shaper` section to 500000
+  e. Comment out the `mod_offline:` and `access_max_user_messages: max_user_offline_messages` lines 
 3. Restart the ejabberd server to make the changes take effect:
 +
 .(Debian / Ubuntu) Starting ejabberd