Skip to content

Commit

Permalink
Use java from $PATH (#74)
Browse files Browse the repository at this point in the history
Do not hardcode the (wrong) path.
  • Loading branch information
porridge authored Feb 28, 2020
1 parent 97a0be2 commit a5e74d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ while ! nc -z $host $port; do
sleep 1
done

/sbin/dumb-init /usr/bin/java ${JVM_OPTS} -jar /opt/cassandra_exporter/cassandra_exporter.jar /etc/cassandra_exporter/config.yml
/sbin/dumb-init java ${JVM_OPTS} -jar /opt/cassandra_exporter/cassandra_exporter.jar /etc/cassandra_exporter/config.yml

0 comments on commit a5e74d8

Please sign in to comment.