From 8c020cead886848673b019770cd482416766c30f Mon Sep 17 00:00:00 2001 From: Yadd Date: Wed, 29 Jun 2022 14:51:55 +0200 Subject: [PATCH] Add doc (#2491) --- doc/sources/admin/configlocation.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/sources/admin/configlocation.rst b/doc/sources/admin/configlocation.rst index da9abf78a..f92e0e17f 100644 --- a/doc/sources/admin/configlocation.rst +++ b/doc/sources/admin/configlocation.rst @@ -128,6 +128,21 @@ configuration. instanceName = LLNG_Demo +.. tip:: + + + It is possible to use environment variable placeholders anywhere in + configuration. Those placeholders will be replaced by each LLNG component + using environment variables set locally. + The format is: ``%SERVERENV:VariableName%``. + To enable this feature, you must edit ``lemonldap-ng.ini`` to set + ``useServerEnv`` value in [configuration] section: + + .. code:: ini + + [configuration] + useServerEnv = 1 + Manager API -----------