Browse Source

start-mac.sh must start "sonar.sh start" instead of "sonar.sh console" in order to display logs

tags/4.4-RC1
Simon Brandhof 10 years ago
parent
commit
fb179ca5f4
2 changed files with 8 additions and 2 deletions
  1. 3
    2
      start-mac.sh
  2. 5
    0
      stop-mac.sh

start-mac-h2.sh → start-mac.sh View File

@@ -4,5 +4,6 @@

cd sonar-application/target/
unzip sonarqube-*.zip
cd sonarqube-*
bin/macosx-universal-64/sonar.sh console
bin/macosx-universal-64/sonar.sh start
sleep 1
tail -100f logs/sonar.log

+ 5
- 0
stop-mac.sh View File

@@ -0,0 +1,5 @@
#!/bin/sh

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

sh sonar-application/target/sonarqube-*/bin/macosx-universal-64/sonar.sh stop

Loading…
Cancel
Save