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