summaryrefslogtreecommitdiffstats
path: root/stop.sh
blob: 3ddd22de9c151a1164d5aab49b937f351559144f (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# Shortcut to stop server. It must be already built.

if [[ "$OSTYPE" == "darwin"* ]]; then
  OS='macosx-universal-64'
else
  OS='linux-x86-64'
fi

sh sonar-application/target/sonarqube-*/bin/$OS/sonar.sh stop