提交 e5ba217f authored 作者: Thomas Mueller's avatar Thomas Mueller

Installing the H2 as a service should now work on Windows 7.

上级 ddf48534
......@@ -47,18 +47,18 @@ echo %_REALPATH%%_WRAPPER_BASE%.exe
pause
goto :end
:conf
rem
rem Find the wrapper.conf
rem
:conf
set _WRAPPER_CONF="%~f1"
if not %_WRAPPER_CONF%=="" goto startup
set _WRAPPER_CONF="%_REALPATH%wrapper.conf"
:startup
rem
rem Start the Wrapper
rem
:startup
"%_WRAPPER_EXE%" -c %_WRAPPER_CONF%
if not errorlevel 1 goto :end
pause
......
......@@ -10,11 +10,11 @@ echo Process stopped
pause
goto :end
:start
rem Copyright (c) 1999, 2006 Tanuki Software Inc.
rem
rem Java Service Wrapper general NT service install script
rem
if "%OS%"=="Windows_NT" goto nt
echo This script only works with NT-based versions of Windows.
goto :end
......@@ -41,18 +41,18 @@ echo %_REALPATH%%_WRAPPER_BASE%.exe
pause
goto :end
:conf
rem
rem Find the wrapper.conf
rem
:conf
set _WRAPPER_CONF="%~f1"
if not %_WRAPPER_CONF%=="" goto startup
set _WRAPPER_CONF="%_REALPATH%wrapper.conf"
:startup
rem
rem Install the Wrapper as an NT service.
rem
:startup
"%_WRAPPER_EXE%" -i %_WRAPPER_CONF%
if not errorlevel 1 goto :end
pause
......
......@@ -33,18 +33,18 @@ echo %_REALPATH%%_WRAPPER_BASE%.exe
pause
goto :end
:conf
rem
rem Find the wrapper.conf
rem
:conf
set _WRAPPER_CONF="%~f1"
if not %_WRAPPER_CONF%=="" goto startup
set _WRAPPER_CONF="%_REALPATH%wrapper.conf"
:startup
rem
rem Uninstall the Wrapper as an NT service.
rem
:startup
"%_WRAPPER_EXE%" -r %_WRAPPER_CONF%
if not errorlevel 1 goto :end
pause
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论