Merge pull request #392 from edge-records/master

Parameterize timeout value for ES startup in Debian SysV init scripts
This commit is contained in:
Michael Russell 2018-02-01 17:04:15 +01:00 committed by GitHub
commit 03a685b29d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View file

@ -175,7 +175,7 @@ case "$1" in
return=$?
if [ $return -eq 0 ]; then
i=0
timeout=10
timeout={{es_debian_startup_timeout}}
# Wait for the process to be properly started before exiting
until { kill -0 `cat "$PID_FILE"`; } >/dev/null 2>&1
do