Skip to content

Commit

Permalink
add Dconfig.resource clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtodor committed Mar 30, 2022
1 parent fad9aff commit fd9be4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ system properties can be used to force a different config source
it should include the extension, not be a basename
- `config.url` specifies a URL

**Note**: you need to pass `-Dconfig.file=path/to/config-file` before the jar itself, e.g. `java -Dconfig.file=path/to/config-file.conf -jar path/to/jar-file.jar`
**Note**: you need to pass `-Dconfig.file=path/to/config-file` before the jar itself, e.g. `java -Dconfig.file=path/to/config-file.conf -jar path/to/jar-file.jar`. Same applies for `-Dconfig.resource=config-file.conf`

These system properties specify a _replacement_ for
`application.{conf,json,properties}`, not an addition. They only
Expand Down

0 comments on commit fd9be4a

Please sign in to comment.