mirror of
https://github.com/lightbend/config.git
synced 2025-01-29 05:30:08 +08:00
add Dconfig.resource clarification
This commit is contained in:
parent
fad9affc97
commit
fd9be4a4f9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user