mirror of
https://github.com/status-im/consul.git
synced 2025-02-23 02:48:19 +00:00
docs: update 'sc' usage in windows-guide.html.md (#5501)
- the space after `=` is significant in sc parameters (binPath= "<path> <args>, 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.
This commit is contained in:
parent
d2e68a900a
commit
462a73fa28
@ -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.
|
Use the _sc_ command to create a Service named **Consul**, which starts in the _dev_ mode.
|
||||||
|
|
||||||
```text
|
```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
|
[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
|
The service automatically starts up during/after boot, so you don't need to
|
||||||
launch Consul from the command-line again.
|
launch Consul from the command-line again.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user