Stop sonar on window 64

Michael Courcy picture Michael Courcy · May 26, 2014 · Viewed 40.4k times · Source

I use sonarqube 4.3 and I can't find a script to stop sonar in windowsx86-64.

It's awkward to have StartSonar.batand nothing to stop.

When I use it on in linux-x86-64 I can use ./sonar.sh stop.

I saw that there was a StartNTService.bat and a StoptNTService.bat but i don't want to install sonar as a service.

Answer

Fabrice - SonarSource Team picture Fabrice - SonarSource Team · May 27, 2014

When using StartSonar.bat:

  • if you clicked on it, it opened a new Command window and in this case you just have to close the window to stop SonarQube

  • or you executed the script directly in a Command window, and in this case you just have to hit "Control + C" to stop SonarQube