annotate mod_reload_modules.wiki @ 498:5b1b0bf532cc

added page for mod_csi_compat
author Kim Alvefur <zash@zash.se>
date Sun, 21 Dec 2014 13:22:33 +0100
parents fa33da93a246
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
476
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
1 #summary Automatically reload modules with the config
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
2 #labels Stage-Stable
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
3
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
4 = Introduction =
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
5
495
fa33da93a246 trim trailing whitespace
Kim Alvefur <zash@zash.se>
parents: 476
diff changeset
6 By default Prosody does not reload modules at runtime unless instructed to via one of its admin interfaces. However sometimes you want to easily reload a module to apply new settings when the config changes.
476
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
7
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
8 mod_reload_modules will reload a set list of modules every time Prosody reloads its config (e.g. on SIGHUP).
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
9
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
10 = Configuration =
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
11
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
12 Add "reload_modules" to modules_enabled. Then the list of modules to reload using the 'reload_modules' option in your config like so:
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
13
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
14 {{{
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
15 reload_modules = { "groups", "tls" }
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
16 }}}
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
17
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
18 This would reload mod_groups and mod_tls whenever the config is reloaded. Note that on many systems this will be at least daily, due to logrotate.
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
19
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
20 = Compatibility =
6aa13786ce90 Created wiki page through web user interface.
MWild1@gmail.com
parents:
diff changeset
21 || 0.9 || Works ||