mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 02:14:54 +00:00
add back writing pid from shell as well as writing it from Java process, for some reason, it caused a strange failure in clinton test harness, we need to chase it down, but for now, lets bring this back
This commit is contained in:
parent
b6227f24c1
commit
aa51a8af9c
@ -125,8 +125,7 @@ launch_service()
|
||||
# Startup ElasticSearch, background it, and write the pid.
|
||||
exec "$JAVA" $JAVA_OPTS $ES_JAVA_OPTS $es_parms -Des.path.home="$ES_HOME" -cp "$ES_CLASSPATH" $props \
|
||||
org.elasticsearch.bootstrap.ElasticSearch <&- &
|
||||
# no longer need to write the pid, the elasticsearch process will do it
|
||||
# [ ! -z "$pidpath" ] && printf '%d' $! > "$pidpath"
|
||||
[ ! -z "$pidpath" ] && printf '%d' $! > "$pidpath"
|
||||
fi
|
||||
|
||||
return $?
|
||||
|
Loading…
x
Reference in New Issue
Block a user