OpenSearch/docs/reference/upgrade/shut-down-node.asciidoc

21 lines
568 B
Plaintext
Raw Normal View History

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