diff --git a/bin/kibana b/bin/kibana index 5f2a124b801e8..1606ad2813025 100755 --- a/bin/kibana +++ b/bin/kibana @@ -21,5 +21,4 @@ if [ ! -x "$NODE" ]; then exit 1 fi -exec "${NODE}" "${DIR}/src/cli" ${@} - +exec "${NODE}" $NODE_OPTIONS "${DIR}/src/cli" ${@} diff --git a/bin/kibana.bat b/bin/kibana.bat index 53a0df663b9e6..67418e5ff18a9 100644 --- a/bin/kibana.bat +++ b/bin/kibana.bat @@ -18,7 +18,7 @@ If Not Exist "%NODE%" ( ) TITLE Kibana Server -"%NODE%" "%DIR%\src\cli" %* +"%NODE%" %NODE_OPTIONS% "%DIR%\src\cli" %* :finally