Software / code / prosody-modules
Comparison
mod_s2s_reload_newcomponent/README.markdown @ 1803:4d73a1a6ba68
Convert all wiki pages to Markdown
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 28 Aug 2015 18:03:58 +0200 |
| parent | 1782:mod_s2s_reload_newcomponent/README.wiki@29f3d6b7ad16 |
comparison
equal
deleted
inserted
replaced
| 1802:0ab737feada6 | 1803:4d73a1a6ba68 |
|---|---|
| 1 --- | |
| 2 labels: | |
| 3 summary: | | |
| 4 Module to automatically load new components when config:reload is done | |
| 5 in console | |
| 6 ... | |
| 7 | |
| 8 Introduction | |
| 9 ============ | |
| 10 | |
| 11 Currently, module:reload command in console doesn't load new components. | |
| 12 This module will automatically load the new components (if any) when the | |
| 13 config:reload command is run in the console. | |
| 14 | |
| 15 Details | |
| 16 ======= | |
| 17 | |
| 18 In order to use the plugin, simply load the plugin by adding | |
| 19 "s2s\_reload\_newcomponent" to the modules enabled list. The plugin | |
| 20 requires configuration to be reloaded via console plugin's | |
| 21 config:reload() command. | |
| 22 | |
| 23 Now, add a new component in the prosody configuration and then run | |
| 24 config:reload() command in the console plugin. The new component should | |
| 25 become active in prosody at this point and can be used. | |
| 26 | |
| 27 Dependency | |
| 28 ========== | |
| 29 | |
| 30 Needs console plugin to reload configuration. | |
| 31 | |
| 32 Compatibility | |
| 33 ============= | |
| 34 | |
| 35 ----- ------- | |
| 36 0.7 works | |
| 37 ----- ------- |