docs: add agent to windows service (#5982)

This commit is contained in:
Andrei Burd 2019-06-18 10:50:07 +03:00 committed by Hans Hasselberg
parent 24a0f2bba2
commit 2fa2879504
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ Use the _sc_ command to create a service named **Consul**, that will load config
[documentation](/docs/agent/options.html#configuration-files) to learn more about configuration options.
```text
sc.exe create "Consul" binPath= "<path to the Consul.exe> -config-dir <path to configuration directory>" start= auto
sc.exe create "Consul" binPath= "<path to the Consul.exe> agent -config-dir <path to configuration directory>" start= auto
[SC] CreateService SUCCESS
```