Merged debian init script changes from https://github.com/elastic/elasticsearch/pull/16718.
Fixes #69
This commit is contained in:
parent
40fd3516c4
commit
b5ed2fd9f3
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ case "$1" in
|
||||||
i=0
|
i=0
|
||||||
timeout=10
|
timeout=10
|
||||||
# Wait for the process to be properly started before exiting
|
# Wait for the process to be properly started before exiting
|
||||||
until { cat "$PID_FILE" | xargs kill -0; } >/dev/null 2>&1
|
until { kill -0 `cat "$PID_FILE"`; } >/dev/null 2>&1
|
||||||
do
|
do
|
||||||
sleep 1
|
sleep 1
|
||||||
i=$(($i + 1))
|
i=$(($i + 1))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue