I2P

Invisible Internet Project


root/installer/resources/install_i2p_service_winnt.bat @ 75d94500e83c3718e0f2e453f27c788e8fc4530c

Revision 75d94500e83c3718e0f2e453f27c788e8fc4530c, 0.7 KB (checked in by kytv@…, 2 years ago)

GOTO lines refer to the non-existent EOF label. Adding the :eof to the end.

Line 
1@echo off
2setlocal
3
4rem
5rem Java Service Wrapper general NT service install script
6rem
7
8if "%OS%"=="Windows_NT" goto nt
9echo This script only works with NT-based versions of Windows.
10goto :eof
11
12:nt
13rem
14rem Find the application home.
15rem
16rem %~dp0 is location of current script under NT
17set _REALPATH=%~dp0
18set _WRAPPER_EXE=%_REALPATH%I2Psvc.exe
19
20rem
21rem Find the wrapper.conf
22rem
23:conf
24set _WRAPPER_CONF="%~f1"
25if not %_WRAPPER_CONF%=="" goto startup
26set _WRAPPER_CONF="%_REALPATH%wrapper.config"
27
28rem
29rem Install the Wrapper as an NT service.
30rem
31:startup
32"%_WRAPPER_EXE%" -i %_WRAPPER_CONF%
33if not errorlevel 1 goto :eof
34if %2=="--nopause" goto :eof
35pause
36
37:eof
Note: See TracBrowser for help on using the browser.