Browse Source

website: Improve docs for reloading config. Fixes #407

pull/499/head
Ryan Uber 10 years ago
parent
commit
f126bb7381
  1. 17
      website/source/docs/agent/options.html.markdown
  2. 6
      website/source/docs/commands/reload.html.markdown

17
website/source/docs/agent/options.html.markdown

@ -22,8 +22,10 @@ The exact merging behavior will be specified.
Consul also supports reloading of configuration when it receives the Consul also supports reloading of configuration when it receives the
SIGHUP signal. Not all changes are respected, but those that are SIGHUP signal. Not all changes are respected, but those that are
are documented below. The [reload command](/docs/commands/reload.html) are documented below in the
can also be used to trigger a configuration reload. [Reloadable Configuration](#reloadable-configuration) section. The
[reload command](/docs/commands/reload.html) can also be used to trigger a
configuration reload.
## Command-line Options ## Command-line Options
@ -439,3 +441,14 @@ port.
* DNS Interface (Default 8600). Used to resolve DNS queries. TCP and UDP. * DNS Interface (Default 8600). Used to resolve DNS queries. TCP and UDP.
## Reloadable Configuration
<a id="reloadable-configuration"></a>
Reloading configuration does not reload all configuration items. The
items which are reloaded include:
* Log level
* Checks
* Services
* Watches
* HTTP Client Address

6
website/source/docs/commands/reload.html.markdown

@ -19,6 +19,12 @@ This command operates the same as the signal, meaning that it will trigger
a reload, but does not wait for the reload to complete. Any errors with the a reload, but does not wait for the reload to complete. Any errors with the
reload will be present in the agent logs and not in the output of this command. reload will be present in the agent logs and not in the output of this command.
**NOTE**
Not all configuration options are reloadable. See the
[Reloadable Configuration](/docs/agent/options.html#reloadable-configuration)
section on the agent options page for details on which options are supported.
## Usage ## Usage
Usage: `consul reload` Usage: `consul reload`

Loading…
Cancel
Save