[DOCS] "service" should be "elasticsearch-service" (#21311)
The Windows `service.bat` script was renamed to `elasticsearch-service.bat` in ES 5.0+.
This commit is contained in:
parent
39f4229594
commit
e6462ea4ca
|
@ -29,11 +29,11 @@ Download the `.zip` archive for Elasticsearch v{version} from: https://artifacts
|
|||
|
||||
Unzip it with your favourite unzip tool. This will create a folder called
|
||||
+elasticsearch-{version}+, which we will refer to as `%ES_HOME%`. In a terminal
|
||||
window, `CD` to the `%ES_HOME%` directory, for instance:
|
||||
window, `cd` to the `%ES_HOME%` directory, for instance:
|
||||
|
||||
["source","sh",subs="attributes"]
|
||||
----------------------------
|
||||
CD c:\elasticsearch-{version}
|
||||
cd c:\elasticsearch-{version}
|
||||
----------------------------
|
||||
|
||||
endif::[]
|
||||
|
@ -85,7 +85,7 @@ stop the service, all from the command-line.
|
|||
|
||||
["source","sh",subs="attributes,callouts"]
|
||||
--------------------------------------------------
|
||||
c:\elasticsearch-{version}{backslash}bin>service
|
||||
c:\elasticsearch-{version}{backslash}bin>elasticsearch-service
|
||||
|
||||
Usage: elasticsearch-service.bat install|remove|start|stop|manager [SERVICE_ID]
|
||||
--------------------------------------------------
|
||||
|
@ -113,7 +113,7 @@ information is made available during install:
|
|||
|
||||
["source","sh",subs="attributes"]
|
||||
--------------------------------------------------
|
||||
c:\elasticsearch-{version}{backslash}bin>service install
|
||||
c:\elasticsearch-{version}{backslash}bin>elasticsearch-service install
|
||||
Installing service : "elasticsearch-service-x64"
|
||||
Using JAVA_HOME (64-bit): "c:\jvm\jdk1.8"
|
||||
The service 'elasticsearch-service-x64' has been installed.
|
||||
|
|
Loading…
Reference in New Issue