mirror of https://github.com/hashicorp/consul
34 lines
994 B
Markdown
34 lines
994 B
Markdown
---
|
|
layout: docs
|
|
page_title: 'Commands: Reload'
|
|
sidebar_current: docs-commands-reload
|
|
description: The `reload` command triggers a reload of configuration files for the agent.
|
|
---
|
|
|
|
# Consul Reload
|
|
|
|
Command: `consul reload`
|
|
|
|
The `reload` 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.
|
|
|
|
**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: `consul reload`
|
|
|
|
#### API Options
|
|
|
|
@include 'http_api_options_client.mdx'
|