Mercurial > prosody-wiki
annotate mod_s2s_reload_newcomponent.wiki @ 432:26ac8c0e6ecf
and there too
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 06 Mar 2014 01:39:57 +0100 |
parents | e38bd149d0c7 |
children |
rev | line source |
---|---|
143
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
1 #summary Module to automatically load new components when config:reload is done in console |
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
2 |
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
3 = Introduction = |
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
4 |
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
5 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. |
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
6 |
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
7 |
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
8 = Details = |
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
9 |
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
10 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. |
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
11 |
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
12 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. |
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
13 |
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
14 = Dependency = |
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
15 |
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
16 Needs console plugin to reload configuration. |
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
17 |
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
18 = Compatibility = |
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
19 |
e38bd149d0c7
Created wiki page through web user interface.
gauravsri@gmail.com
parents:
diff
changeset
|
20 || 0.7 || works || |