From e040616df132d03ddc43e7eb2afe1e2fca682524 Mon Sep 17 00:00:00 2001 From: Ryan Uber Date: Tue, 22 Dec 2015 09:46:36 -0800 Subject: [PATCH] website: document the static ui flag --- website/source/docs/agent/options.html.markdown | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/website/source/docs/agent/options.html.markdown b/website/source/docs/agent/options.html.markdown index 049d434635..d3610a03d0 100644 --- a/website/source/docs/agent/options.html.markdown +++ b/website/source/docs/agent/options.html.markdown @@ -228,8 +228,12 @@ The options below are all specified on the command-line. * `-syslog` - This flag enables logging to syslog. This is only supported on Linux and OSX. It will result in an error if provided on Windows. +* `-ui` - Enables the built-in web UI + server and the required HTTP routes. This eliminates the need to maintain the + Consul web UI files separately from the binary. + * `-ui-dir` - This flag provides the directory containing - the Web UI resources for Consul. This must be provided to enable the Web UI. The directory must be + the Web UI resources for Consul. This will automatically enable the Web UI. The directory must be readable to the agent. ## Configuration Files @@ -590,6 +594,9 @@ definitions support being updated during a reload. [`enable_syslog`](#enable_syslog) is provided, this controls to which facility messages are sent. By default, `LOCAL0` will be used. +* `ui` - Equivalent to the [`-ui`](#_ui) + command-line flag. + * `ui_dir` - Equivalent to the [`-ui-dir`](#_ui_dir) command-line flag.