2017-06-15 11:48:02 -04:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
rem Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
|
|
rem or more contributor license agreements. Licensed under the Elastic License;
|
|
|
|
rem you may not use this file except in compliance with the Elastic License.
|
|
|
|
|
2017-07-29 20:31:52 -04:00
|
|
|
setlocal enabledelayedexpansion
|
2017-08-17 22:50:52 -04:00
|
|
|
setlocal enableextensions
|
2017-07-29 20:31:52 -04:00
|
|
|
|
2017-07-31 07:39:59 -04:00
|
|
|
call "%~dp0..\elasticsearch-env.bat" || exit /b 1
|
2017-07-29 20:31:52 -04:00
|
|
|
|
2017-07-31 07:39:59 -04:00
|
|
|
call "%~dp0x-pack-env.bat" || exit /b 1
|
2017-07-29 20:31:52 -04:00
|
|
|
|
|
|
|
%JAVA% ^
|
|
|
|
%ES_JAVA_OPTS% ^
|
|
|
|
-Des.path.home="%ES_HOME%" ^
|
2017-08-14 17:19:39 -04:00
|
|
|
-Des.path.conf="%ES_PATH_CONF%" ^
|
2017-07-29 20:31:52 -04:00
|
|
|
-cp "%ES_CLASSPATH%" ^
|
|
|
|
org.elasticsearch.xpack.security.authc.esnative.tool.SetupPasswordTool ^
|
|
|
|
%*
|
|
|
|
|
|
|
|
endlocal
|
2017-08-17 22:50:52 -04:00
|
|
|
endlocal
|