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:
Neeraj Jain 2019-02-26 20:56:21 +05:30 committed by Luca Cavanna
parent c09773a76e
commit 2f7206ada7
1 changed files with 1 additions and 1 deletions

View File

@ -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>>