mirror of
https://github.com/aljazceru/ansible-elasticsearch.git
synced 2025-12-18 09:34:20 +01:00
Merged debian init script changes from https://github.com/elastic/elasticsearch/pull/16718.
Fixes #69
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user