Use pkill to shutdown elasticsearch using pid file (#39135)
While running these commands from alias, facing issues using kill `cat pid`, In some situations, the more compact: ``` pkill -F /var/run/myProcess.pid ``` is the way to go.
This commit is contained in:
parent
c09773a76e
commit
2f7206ada7
|
@ -14,7 +14,7 @@ To shut down Elasticsearch, kill the process ID recorded in the `pid` file:
|
|||
|
||||
[source,sh]
|
||||
--------------------------------------------
|
||||
kill `cat pid`
|
||||
pkill -F pid
|
||||
--------------------------------------------
|
||||
|
||||
NOTE: The startup scripts provided in the <<rpm,RPM>> and <<deb,Debian>>
|
||||
|
|
Loading…
Reference in New Issue