2016-03-03 19:44:43 +01:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
SETLOCAL
|
|
|
|
|
|
|
|
set SCRIPT_DIR=%~dp0
|
|
|
|
for %%I in ("%SCRIPT_DIR%..") do set DIR=%%~dpfI
|
|
|
|
|
|
|
|
set NODE=%DIR%\node\node.exe
|
2017-05-26 17:27:16 +02:00
|
|
|
set NODE_ENV="production"
|
|
|
|
|
2016-03-03 19:44:43 +01:00
|
|
|
If Not Exist "%NODE%" (
|
2017-11-22 19:49:37 +01:00
|
|
|
Echo unable to find usable node.js executable.
|
|
|
|
Exit /B 1
|
2016-03-03 19:44:43 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
TITLE Kibana Server
|
2019-08-15 18:30:07 +02:00
|
|
|
|
|
|
|
set "NODE_OPTIONS=--no-warnings %NODE_OPTIONS%" && "%NODE%" "%DIR%\src\cli_plugin" %*
|
2016-03-03 19:44:43 +01:00
|
|
|
|
|
|
|
:finally
|
|
|
|
|
|
|
|
ENDLOCAL
|