mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 13:55:55 +00:00
website: Document the new reload command
This commit is contained in:
parent
6ff6f3b213
commit
2b0f7566e5
29
website/source/docs/commands/reload.html.markdown
Normal file
29
website/source/docs/commands/reload.html.markdown
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
layout: "docs"
|
||||||
|
page_title: "Commands: Reload"
|
||||||
|
sidebar_current: "docs-commands-reload"
|
||||||
|
---
|
||||||
|
|
||||||
|
# Consul Reload
|
||||||
|
|
||||||
|
Command: `consul reload`
|
||||||
|
|
||||||
|
The leave command triggers a reload of configuration files for the agent.
|
||||||
|
|
||||||
|
The `SIGHUP` signal is usually used to trigger a reload of configurations,
|
||||||
|
but in some cases it may be more convenient to trigger the CLI instead.
|
||||||
|
|
||||||
|
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
|
||||||
|
reload will be present in the agent logs and not in the output of this command.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Usage: `consul reload`
|
||||||
|
|
||||||
|
The command-line flags are all optional. The list of available flags are:
|
||||||
|
|
||||||
|
* `-rpc-addr` - Address to the RPC server of the agent you want to contact
|
||||||
|
to send this command. If this isn't specified, the command will contact
|
||||||
|
"127.0.0.1:8400" which is the default RPC address of a Consul agent.
|
||||||
|
|
@ -81,6 +81,10 @@
|
|||||||
|
|
||||||
<li<%= sidebar_current("docs-commands-info") %>>
|
<li<%= sidebar_current("docs-commands-info") %>>
|
||||||
<a href="/docs/commands/info.html">info</a>
|
<a href="/docs/commands/info.html">info</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li<%= sidebar_current("docs-commands-reload") %>>
|
||||||
|
<a href="/docs/commands/reload.html">reload</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user