Merge pull request #15549 from gmarz/master
Fix Windows service installation failure
This commit is contained in:
commit
8fffc474dd
|
@ -93,7 +93,7 @@ set JAVA_OPTS=%JAVA_OPTS% -Djna.nosys=true
|
||||||
|
|
||||||
REM check in case a user was using this mechanism
|
REM check in case a user was using this mechanism
|
||||||
if "%ES_CLASSPATH%" == "" (
|
if "%ES_CLASSPATH%" == "" (
|
||||||
set ES_CLASSPATH=%ES_HOME%/lib/elasticsearch-${project.version}.jar;%ES_HOME%/lib/*
|
set ES_CLASSPATH=!ES_HOME!/lib/elasticsearch-${project.version}.jar;!ES_HOME!/lib/*
|
||||||
) else (
|
) else (
|
||||||
ECHO Error: Don't modify the classpath with ES_CLASSPATH, Best is to add 1>&2
|
ECHO Error: Don't modify the classpath with ES_CLASSPATH, Best is to add 1>&2
|
||||||
ECHO additional elements via the plugin mechanism, or if code must really be 1>&2
|
ECHO additional elements via the plugin mechanism, or if code must really be 1>&2
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
@echo off
|
@echo off
|
||||||
SETLOCAL
|
SETLOCAL enabledelayedexpansion
|
||||||
|
|
||||||
TITLE Elasticsearch Service ${project.version}
|
TITLE Elasticsearch Service ${project.version}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue