From 0da3afbeeb607096853dee145292a94f53133025 Mon Sep 17 00:00:00 2001 From: Badlop Date: Wed, 7 Jul 2021 21:55:54 +0200 Subject: [PATCH] Update very old installation instructions --- README.md | 6 ++---- mod_log_chat/README.txt | 21 ++------------------- mod_logsession/README.txt | 13 +------------ mod_rest/README.txt | 1 - 4 files changed, 5 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index 65caa60..3a5096a 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,8 @@ To use an ejabberd module coming from this repository: `CONTRIB_MODULES_PATH` setting in `ejabberdctl.cfg`. - Edit the configuration file provided in the `conf` directory of the - installed module and update it to your needs. Then apply the changes to - your main ejabberd configuration. In a future release, ejabberd will - automatically add this file to its runtime configuration without - changes. + installed module and update it to your needs. Or, if you prefer so, + configure it in your main ejabberd configuration file. - Run `ejabberdctl module_uninstall ` to remove a module from ejabberd. diff --git a/mod_log_chat/README.txt b/mod_log_chat/README.txt index 20384ef..1d09130 100644 --- a/mod_log_chat/README.txt +++ b/mod_log_chat/README.txt @@ -7,22 +7,5 @@ per day (it doesn't log muc messages, use mod_muc_log for this). It can store messages in plain text or HTML format. -Compilation and installation ----------------------------- - -- You need to have Erlang installed. - -- Run - erl -pa ../ejabberd-dev/ebin -make - in the mod_log_chat directory. - -- Copy generated mod_log_chat.beam file from the ebin directory to the - directory where your ejabberd .beam files are. - -- Edit the "modules" section of your ejabberd.cfg configuration file to - suit your needs (see conf/ejabberd.conf.sample for examples). - -- Be sure that the directories where you want to create your log - files exists and are writable by you ejabberd user. - -- Restart ejabberd. +Be sure that the directories where you want to create your log +files exists and are writable by you ejabberd user. diff --git a/mod_logsession/README.txt b/mod_logsession/README.txt index b96fc98..7063e17 100644 --- a/mod_logsession/README.txt +++ b/mod_logsession/README.txt @@ -17,21 +17,10 @@ Each vhost is logged in a different file. Note: to log the failed authentication attempts, you need to patch ejabberd. - INSTALL - ------- - -1 Copy this file to ejabberd/src/mod_logsession.erl -2 Recompile ejabberd -3 Add to ejabberd.yml, 'modules' section the basic configuration: - mod_logsession: {} -4 With this configuration, the log files are: - /tmp/ejabberd_logsession_@HOST@.log - - CONFIGURABLE PARAMETERS ----------------------- -sessionlog: +sessionlog: Define the name of log files. The keyword @HOST@ will be substituted with the name of each vhost. Default value: "/tmp/ejabberd_logsession_@HOST@.log" diff --git a/mod_rest/README.txt b/mod_rest/README.txt index cdc56c0..eed02ed 100644 --- a/mod_rest/README.txt +++ b/mod_rest/README.txt @@ -18,7 +18,6 @@ This module can also be used as a frontend to execute ejabberd commands. CONFIGURATION ============= -To use this module, follow the general build instructions. You can modify the default module configuration file like this: To enable the module: