open service manager upon install failure in installYaCyWindowsService.bat

likely service is already installed
Service Manager allows then to modify settings
pull/1/head
reger 11 years ago
parent 30d925a96e
commit 41dc0f82c1

@ -29,7 +29,11 @@ REM Install YaCy as Windows Service
%exepath%\prunsrv.exe //IS//YaCy --Jvm=auto --StartMode=jvm --StartClass=net.yacy.yacy --Classpath=htroot;lib/yacycore.jar --StartPath=%~dp0 --JvmOptions=%javaopts% --Startup=auto --JvmMx=%jmx% --JvmMs=%jms% --StopMode=jvm --StopClass=net.yacy.yacy --StopParams=-shutdown --Description=%servicedesc% %exepath%\prunsrv.exe //IS//YaCy --Jvm=auto --StartMode=jvm --StartClass=net.yacy.yacy --Classpath=htroot;lib/yacycore.jar --StartPath=%~dp0 --JvmOptions=%javaopts% --Startup=auto --JvmMx=%jmx% --JvmMs=%jms% --StopMode=jvm --StopClass=net.yacy.yacy --StopParams=-shutdown --Description=%servicedesc%
if not errorlevel 1 goto installed if not errorlevel 1 goto installed
echo Failed installing '%SERVICE_NAME%' service Echo Failed installing YaCy service
Echo maybe it is already installed
Echo opening the service manager to edit the settings now.
addon\windowsService\prunmgr.exe //ES//YaCy
goto end goto end
:installed :installed

Loading…
Cancel
Save