Mercurial > prosody-modules
diff mod_s2s_reload_newcomponent/README.wiki @ 1782:29f3d6b7ad16
Import wiki pages
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 24 Aug 2015 16:43:56 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mod_s2s_reload_newcomponent/README.wiki Mon Aug 24 16:43:56 2015 +0200 @@ -0,0 +1,20 @@ +#summary Module to automatically load new components when config:reload is done in console + += Introduction = + +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. + + += Details = + +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. + += Dependency = + +Needs console plugin to reload configuration. + += Compatibility = + +|| 0.7 || works || \ No newline at end of file