@@ -90,50 +90,15 @@ include::xpack-indices.asciidoc[]
90
90
endif::include-xpack[]
91
91
92
92
[[zip-targz-running]]
93
- ==== Running Elasticsearch from the command line
94
-
95
- Elasticsearch can be started from the command line as follows:
96
-
97
- [source,sh]
98
- --------------------------------------------
99
- ./bin/elasticsearch
100
- --------------------------------------------
101
-
102
- By default, Elasticsearch runs in the foreground, prints its logs to the
103
- standard output (`stdout`), and can be stopped by pressing `Ctrl-C`.
104
-
105
- NOTE: All scripts packaged with Elasticsearch require a version of Bash
106
- that supports arrays and assume that Bash is available at `/bin/bash`.
107
- As such, Bash should be available at this path either directly or via a
108
- symbolic link.
93
+ include::zip-targz-start.asciidoc[]
109
94
110
95
include::check-running.asciidoc[]
111
96
112
97
Log printing to `stdout` can be disabled using the `-q` or `--quiet`
113
98
option on the command line.
114
99
115
100
[[setup-installation-daemon]]
116
- ==== Running as a daemon
117
-
118
- To run Elasticsearch as a daemon, specify `-d` on the command line, and record
119
- the process ID in a file using the `-p` option:
120
-
121
- [source,sh]
122
- --------------------------------------------
123
- ./bin/elasticsearch -d -p pid
124
- --------------------------------------------
125
-
126
- Log messages can be found in the `$ES_HOME/logs/` directory.
127
-
128
- To shut down Elasticsearch, kill the process ID recorded in the `pid` file:
129
-
130
- [source,sh]
131
- --------------------------------------------
132
- kill `cat pid`
133
- --------------------------------------------
134
-
135
- NOTE: The startup scripts provided in the <<rpm,RPM>> and <<deb,Debian>>
136
- packages take care of starting and stopping the Elasticsearch process for you.
101
+ include::zip-targz-daemon.asciidoc[]
137
102
138
103
[[zip-targz-configuring]]
139
104
==== Configuring Elasticsearch on the command line
0 commit comments