Optimize startup script.#195
This commit is contained in:
parent
7b2da1b81c
commit
005d712fb3
@ -80,7 +80,7 @@ fi
|
||||
|
||||
if [[ "${PREFER_HOST_MODE}" == "hostname" ]]; then
|
||||
JAVA_OPT="${JAVA_OPT} -Dnacos.preferHostnameOverIp=true"
|
||||
f
|
||||
fi
|
||||
JAVA_OPT="${JAVA_OPT} -Dnacos.member.list=${MEMBER_LIST}"
|
||||
|
||||
JAVA_MAJOR_VERSION=$($JAVA -version 2>&1 | sed -E -n 's/.* version "([0-9]*).*$/\1/p')
|
||||
|
Loading…
Reference in New Issue
Block a user