mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
* [DOCS] Update archive install docs for security ON by default * Remove extra attribute references that aren't needed * Incorporate security info into start page * Update heading
26 lines
No EOL
853 B
Text
26 lines
No EOL
853 B
Text
==== Run as a daemon
|
|
|
|
To run Elasticsearch as a daemon, specify `-d` on the command line, and record
|
|
the process ID in a file using the `-p` option:
|
|
|
|
[source,sh]
|
|
--------------------------------------------
|
|
./bin/elasticsearch -d -p pid
|
|
--------------------------------------------
|
|
|
|
If you have password-protected the {es} keystore, you will be prompted
|
|
to enter the keystore's password. See <<secure-settings>> for more
|
|
details.
|
|
|
|
Log messages can be found in the `$ES_HOME/logs/` directory.
|
|
|
|
To shut down Elasticsearch, kill the process ID recorded in the `pid` file:
|
|
|
|
[source,sh]
|
|
--------------------------------------------
|
|
pkill -F pid
|
|
--------------------------------------------
|
|
|
|
NOTE: The {es} `.tar.gz` package does not include the `systemd` module. To
|
|
manage {es} as a service, use the <<start-deb,Debian>> or <<start-rpm,RPM>>
|
|
package instead. |