kibana/bin/kibana.bat

22 lines
365 B
Batchfile
Raw Normal View History

@echo off
SETLOCAL
set SCRIPT_DIR=%~dp0
for %%I in ("%SCRIPT_DIR%..") do set DIR=%%~dpfI
set NODE=%DIR%\node\node.exe
set NODE_ENV="production"
If Not Exist "%NODE%" (
Echo unable to find usable node.js executable.
Exit /B 1
)
set "NODE_OPTIONS=--no-warnings --max-http-header-size=65536 %NODE_OPTIONS%" && "%NODE%" "%DIR%\src\cli" %*
:finally
2015-07-31 01:48:10 +02:00
ENDLOCAL