Skip to content

Commit

Permalink
pipe echo stmt into nc
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbrainard committed Dec 20, 2011
1 parent aef84dd commit 9dd0bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opt/boot.sh
Expand Up @@ -25,7 +25,7 @@ export DATABASE_URL_HOST=`parse_uri ${DATABASE_URL} host`
export DATABASE_URL_PATH=`parse_uri ${DATABASE_URL} path`

echo "Binding to $PORT"
nc -w 10 -l -p $PORT
echo "alive" | nc -w 10 -l -p $PORT
echo "Released bind to $PORT"

exec java -jar jetty/runner.jar --port $PORT sonar/war/sonar.war

0 comments on commit 9dd0bb7

Please sign in to comment.