Skip to content

Commit

Permalink
Add two simple startup scripts for the collector and query daemons
Browse files Browse the repository at this point in the history
Author: @johanoskarsson
Pull Request: #32
URL: #32
  • Loading branch information
johanoskarsson committed Jun 14, 2012
1 parent 9e5c223 commit 074a775
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ We've developed Zipkin with <a href="http://www.scala-lang.org/downloads">Scala
1. `ssh [server]`
1. `unzip zipkin*.zip`
1. `mkdir -p /var/log/zipkin`
1. Start the collector and query daemon.
1. `zipkin-scribe/scripts/collector.sh -f zipkin-scribe/config/collector-prod.scala`
1. `zipkin-server/scripts/query.sh -f zipkin-server/config/query-prod.scala`

You can also run the collector and query services through SBT.

Expand Down
3 changes: 3 additions & 0 deletions zipkin-scribe/src/scripts/collector.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
VERSION=@VERSION@
java -cp "$DIR/../libs/*" -jar $DIR/../zipkin-server_2.9.1-$VERSION.jar $*
3 changes: 3 additions & 0 deletions zipkin-server/src/scripts/query.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
VERSION=@VERSION@
java -cp "$DIR/../libs/*" -jar $DIR/../zipkin-server_2.9.1-$VERSION.jar $*

0 comments on commit 074a775

Please sign in to comment.