OpenSearch/docs/reference/upgrade/shut-down-node.asciidoc
debadair 25ec068aef
[DOCS] Added link to upgrade guide and bumped the upgrade topic up to the top level (#27621)
* [DOCS] Added link to the upgrade guide & tweaked the intro.

* [DOCS] Bumped upgrade topic up to the top level of the TOC
2017-12-05 10:58:52 -08:00

20 lines
594 B
Plaintext

* If you are running Elasticsearch with `systemd`:
+
[source,sh]
--------------------------------------------------
sudo systemctl stop elasticsearch.service
--------------------------------------------------
* If you are running Elasticsearch with SysV `init`:
+
[source,sh]
--------------------------------------------------
sudo -i service elasticsearch stop
--------------------------------------------------
* If you are running Elasticsearch as a daemon:
+
[source,sh]
--------------------------------------------------
kill $(cat pid)
--------------------------------------------------