From 462a73fa28de1d68ec1abb7f1064659113088288 Mon Sep 17 00:00:00 2001 From: Jud White Date: Thu, 21 Mar 2019 12:51:04 -0500 Subject: [PATCH] docs: update 'sc' usage in windows-guide.html.md (#5501) - the space after `=` is significant in sc parameters (binPath= " , start= auto) - given the text "the service automatically starts up during/after boot", added `start= auto` to the example, otherwise the service will be set to Manual start mode. --- website/source/docs/guides/windows-guide.html.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/source/docs/guides/windows-guide.html.md b/website/source/docs/guides/windows-guide.html.md index 43d75347d8..fac2b52e8a 100644 --- a/website/source/docs/guides/windows-guide.html.md +++ b/website/source/docs/guides/windows-guide.html.md @@ -30,7 +30,7 @@ Download the Consul binary for your architecture. Use the _sc_ command to create a Service named **Consul**, which starts in the _dev_ mode. ```text - sc.exe create "Consul" binPath="Path to the Consul.exe arg1 arg2 ...argN" + sc.exe create "Consul" binPath= "Path to the Consul.exe arg1 arg2 ...argN" start= auto [SC] CreateService SUCCESS ``` @@ -68,4 +68,4 @@ You have two ways to start the service. ``` The service automatically starts up during/after boot, so you don't need to -launch Consul from the command-line again. \ No newline at end of file +launch Consul from the command-line again.