Use correct script name in docs for Windows
With this commit we correct the name of the ES batch script to `elasticsearch.bat` in the docs and use backslashes in path names.
This commit is contained in:
parent
1e97184519
commit
77762fcbb0
|
@ -45,7 +45,7 @@ Elasticsearch can be started from the command line as follows:
|
||||||
|
|
||||||
[source,sh]
|
[source,sh]
|
||||||
--------------------------------------------
|
--------------------------------------------
|
||||||
.\bin\elasticsearch
|
.\bin\elasticsearch.bat
|
||||||
--------------------------------------------
|
--------------------------------------------
|
||||||
|
|
||||||
By default, Elasticsearch runs in the foreground, prints its logs to `STDOUT`,
|
By default, Elasticsearch runs in the foreground, prints its logs to `STDOUT`,
|
||||||
|
@ -54,7 +54,7 @@ and can be stopped by pressing `Ctrl-C`.
|
||||||
[[windows-configuring]]
|
[[windows-configuring]]
|
||||||
==== Configuring Elasticsearch on the command line
|
==== Configuring Elasticsearch on the command line
|
||||||
|
|
||||||
Elasticsearch loads its configuration from the `%ES_HOME%/config/elasticsearch.yml`
|
Elasticsearch loads its configuration from the `%ES_HOME%\config\elasticsearch.yml`
|
||||||
file by default. The format of this config file is explained in
|
file by default. The format of this config file is explained in
|
||||||
<<settings>>.
|
<<settings>>.
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ the command line, using the `-E` syntax as follows:
|
||||||
|
|
||||||
[source,sh]
|
[source,sh]
|
||||||
--------------------------------------------
|
--------------------------------------------
|
||||||
./bin/elasticsearch -Ecluster.name=my_cluster -Enode.name=node_1
|
.\bin\elasticsearch.bat -Ecluster.name=my_cluster -Enode.name=node_1
|
||||||
--------------------------------------------
|
--------------------------------------------
|
||||||
|
|
||||||
NOTE: Values that contain spaces must be surrounded with quotes. For instance `-Epath.logs="C:\My Logs\logs"`.
|
NOTE: Values that contain spaces must be surrounded with quotes. For instance `-Epath.logs="C:\My Logs\logs"`.
|
||||||
|
|
Loading…
Reference in New Issue