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

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


The following commit(s) were added to refs/heads/karaf-4.2.x by this push:
     new 1996867  Update configuration user guide about system properties
1996867 is described below

commit 1996867916d0426ced6fbb83a74e982c7071de34
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 b63f235..b35fe47 100644
--- a/manual/src/main/asciidoc/user-guide/configuration.adoc
+++ b/manual/src/main/asciidoc/user-guide/configuration.adoc
@@ -44,6 +44,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