Skip to content

Commit 36ba3ea

Browse files
stoping a single node instructions updated
1 parent 5ab8332 commit 36ba3ea

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

docs/en/install-upgrade/upgrading-elasticsearch.asciidoc

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ jobs with large model states.
109109
. [[upgrade-node]] *Shut down a single node*.
110110
+
111111
--
112+
To stop running a single node depends on what is currently used to run the nodes. For example, if using `systemd` or SysV see the commands below.
113+
112114
* If you are running {es} with `systemd`:
113115
+
114116
[source,sh]
@@ -122,13 +124,6 @@ sudo systemctl stop elasticsearch.service
122124
--------------------------------------------------
123125
sudo -i service elasticsearch stop
124126
--------------------------------------------------
125-
126-
* If you are running {es} as a daemon:
127-
+
128-
[source,sh]
129-
--------------------------------------------------
130-
kill $(cat pid)
131-
--------------------------------------------------
132127
--
133128

134129
. *Upgrade the node you shut down.*

0 commit comments

Comments
 (0)