view mod_s2s_reload_newcomponent/README.markdown @ 4690:82dabfffaddf

mod_muc_require_tos: Add this new module
author Emmanuel Gil Peyrot <>
date Thu, 16 Sep 2021 20:41:14 +0200
parents 4d73a1a6ba68
line wrap: on
line source

summary: |
    Module to automatically load new components when config:reload is done
    in console


Currently, module:reload command in console doesn't load new components.
This module will automatically load the new components (if any) when the
config:reload command is run in the console.


In order to use the plugin, simply load the plugin by adding
"s2s\_reload\_newcomponent" to the modules enabled list. The plugin
requires configuration to be reloaded via console plugin's
config:reload() command.

Now, add a new component in the prosody configuration and then run
config:reload() command in the console plugin. The new component should
become active in prosody at this point and can be used.


Needs console plugin to reload configuration.


  ----- -------
  0.7   works
  ----- -------