add Dconfig.resource clarification

This commit is contained in:
iamtodor 2022-03-30 22:59:32 +02:00
parent fad9affc97
commit fd9be4a4f9

View File

@ -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