diff options
author | Dimitris Kavvathas <dimitris.kavvathas@sonarsource.com> | 2022-08-03 10:26:49 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-08-05 20:03:27 +0000 |
commit | 4d2d50a716507d02c04dfa8a5885415a8116c213 (patch) | |
tree | 7f47956fe21c865608d44f90a8e81af89d0a74aa /sonar-application/src/main/assembly/bin/windows-x86-64/StopNTService.bat | |
parent | 14cf47a4180798e8f76eeaf7e297f4be96428107 (diff) | |
download | sonarqube-4d2d50a716507d02c04dfa8a5885415a8116c213.tar.gz sonarqube-4d2d50a716507d02c04dfa8a5885415a8116c213.zip |
SONAR-17137 Replace JSW with WinSW for running SQ on Windows
Diffstat (limited to 'sonar-application/src/main/assembly/bin/windows-x86-64/StopNTService.bat')
-rwxr-xr-x | sonar-application/src/main/assembly/bin/windows-x86-64/StopNTService.bat | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/sonar-application/src/main/assembly/bin/windows-x86-64/StopNTService.bat b/sonar-application/src/main/assembly/bin/windows-x86-64/StopNTService.bat deleted file mode 100755 index bf4b3ef4d38..00000000000 --- a/sonar-application/src/main/assembly/bin/windows-x86-64/StopNTService.bat +++ /dev/null @@ -1,50 +0,0 @@ -@echo off -setlocal - -rem Copyright (c) 1999, 2006 Tanuki Software Inc. -rem -rem Java Service Wrapper general NT service stop script -rem - -if "%OS%"=="Windows_NT" goto nt -echo This script only works with NT-based versions of Windows. -goto :eof - -:nt -rem -rem Find the application home. -rem -rem %~dp0 is location of current script under NT -set _REALPATH=%~dp0 - -rem Decide on the wrapper binary. -set _WRAPPER_BASE=wrapper -set _WRAPPER_EXE=%_REALPATH%%_WRAPPER_BASE%-windows-x86-32.exe -if exist "%_WRAPPER_EXE%" goto conf -set _WRAPPER_EXE=%_REALPATH%%_WRAPPER_BASE%-windows-x86-64.exe -if exist "%_WRAPPER_EXE%" goto conf -set _WRAPPER_EXE=%_REALPATH%%_WRAPPER_BASE%.exe -if exist "%_WRAPPER_EXE%" goto conf -echo Unable to locate a Wrapper executable using any of the following names: -echo %_REALPATH%%_WRAPPER_BASE%-windows-x86-32.exe -echo %_REALPATH%%_WRAPPER_BASE%-windows-x86-64.exe -echo %_REALPATH%%_WRAPPER_BASE%.exe -pause -goto :eof - -rem -rem Find the wrapper.conf -rem -:conf -set _WRAPPER_CONF="%~f1" -if not %_WRAPPER_CONF%=="" goto startup -set _WRAPPER_CONF="%_REALPATH%..\..\conf\wrapper.conf" - -rem -rem Stop the Wrapper NT service. -rem -:startup -"%_WRAPPER_EXE%" -p %_WRAPPER_CONF% -if not errorlevel 1 goto :eof -pause - |