You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

stop.sh 286B

1234567891011121314
  1. #!/bin/bash
  2. # Shortcut to stop server. It must be already built.
  3. if [[ "$OSTYPE" == "darwin"* ]]; then
  4. OS='macosx-universal-64'
  5. else
  6. OS='linux-x86-64'
  7. fi
  8. SONAR_SH=sonar-application/build/distributions/sonarqube-*/bin/$OS/sonar.sh
  9. if [ -f $SONAR_SH ]; then
  10. sh $SONAR_SH stop
  11. fi