Skip to content

Commit

Permalink
Merge pull request elastic#83 from jakommo/master
Browse files Browse the repository at this point in the history
Merged debian init script changes from elasticsearch
  • Loading branch information
gingerwizard committed Apr 3, 2016
2 parents 83303e4 + b5ed2fd commit 2b5d7c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/init/debian/elasticsearch.j2
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ case "$1" in
i=0
timeout=10
# 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
sleep 1
i=$(($i + 1))
Expand Down

0 comments on commit 2b5d7c3

Please sign in to comment.