summarylogtreecommitdiffstats
path: root/zipkin.sh
blob: befa92ac077dbc5cb432b1488750b0375cfcaaf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

ZIPKIN_ENV=/etc/zipkin/zipkin-env.sh
if [[ -e $ZIPKIN_ENV ]]
then
    source $ZIPKIN_ENV
fi

JVM_OPTIONS="-Xmx${JVM_XMX:=512M} -Xms${JVM_XMS:=512M} $ZIPKIN_JVM_OPTIONS"

java $JVM_OPTIONS -jar /usr/share/java/zipkin/zipkin.jar