From 8e939f2df2be01da52ead6edc6c0a63b4acbd757 Mon Sep 17 00:00:00 2001 From: Martin Sucha Date: Thu, 30 Mar 2017 14:07:23 +0200 Subject: [PATCH] Update README The config file can be specified using a system property, which is more convenient than changing classpath. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 98b3c34..183d34a 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Metrics are sent to InfluxDB with the following values and tags: 1. `git clone https://github.com/splee/burrower.git` 1. `cd burrower && sbt assembly` 1. Update configuration, saving it as `conf/application.conf` (example config file: `burrow/conf/application.conf.example`) -1. `java -cp target/scala-2.11/burrower-0.2-SNAPSHOT.jar:conf/ com.github.splee.burrower.OffsetMonitor` +1. `java -Dconfig.file=conf/application.conf -jar target/scala-2.11/burrower-0.2-SNAPSHOT.jar` ## Planned Features