Mercurial > prosody-wiki
annotate mod_s2s_reload_newcomponent.wiki @ 306:2ec60540a8c7
Clarify relationship to mod_storage_sql
author | MWild1@gmail.com |
---|---|
date | Wed, 26 Sep 2012 00:50:02 +0000 |
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 || |