This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/master by this push:
     new 6234976  Update configuration user guide about system properties
6234976 is described below

commit 623497672a71e718f28c66adcc84f1e99c024313
Author: jbonofre <jbono...@apache.org>
AuthorDate: Wed Sep 30 09:19:40 2020 +0200

    Update configuration user guide about system properties
---
 manual/src/main/asciidoc/user-guide/configuration.adoc | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/manual/src/main/asciidoc/user-guide/configuration.adoc 
b/manual/src/main/asciidoc/user-guide/configuration.adoc
index 764becb..fe50808 100644
--- a/manual/src/main/asciidoc/user-guide/configuration.adoc
+++ b/manual/src/main/asciidoc/user-guide/configuration.adoc
@@ -68,6 +68,14 @@ property3=${existing_property:-bar}  # "baz"
 property4=${existing_property:+bar}  # "bar"
 ----
 
+Apache Karaf will look for system property as well. For instance, the 
following:
+
+----
+key=${foo}
+----
+
+means that `key` will contain `bar` if you start Karaf with `-Dfoo=bar`.
+
 Environment variables can be referenced inside configuration files using the 
syntax `${env:<name>}` (e.g.
 `property=${env:FOO}` will set "property" to the value of the enviroment 
variable "FOO"). Default and alternate
 values can be defined for them as well using the same syntax as above.

Reply via email to