2019-03-13 17:38:13 -04:00
|
|
|
* If you are running {es} with `systemd`:
|
2017-08-23 17:03:14 -04:00
|
|
|
+
|
|
|
|
[source,sh]
|
|
|
|
--------------------------------------------------
|
|
|
|
sudo systemctl stop elasticsearch.service
|
|
|
|
--------------------------------------------------
|
|
|
|
|
2019-03-13 17:38:13 -04:00
|
|
|
* If you are running {es} with SysV `init`:
|
2017-08-23 17:03:14 -04:00
|
|
|
+
|
|
|
|
[source,sh]
|
|
|
|
--------------------------------------------------
|
|
|
|
sudo -i service elasticsearch stop
|
|
|
|
--------------------------------------------------
|
|
|
|
|
2019-03-13 17:38:13 -04:00
|
|
|
* If you are running {es} as a daemon:
|
2017-08-23 17:03:14 -04:00
|
|
|
+
|
|
|
|
[source,sh]
|
|
|
|
--------------------------------------------------
|
|
|
|
kill $(cat pid)
|
2019-03-13 17:38:13 -04:00
|
|
|
--------------------------------------------------
|