sonarqube/stop.sh
Sébastien Lesaint 3dbfee3fe1 fix start.sh and stop.sh on ubuntu with zsh
moved to bash instead of sh
rewrite testing for existing file and directory so that hopefully it works on both Linux and MacOs
2015-04-07 11:27:33 +02:00

12 lines
223 B
Bash
Executable File

#!/bin/bash
# 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