From 173a24503efbd662ef7a7ab6989a4b019cd36db6 Mon Sep 17 00:00:00 2001 From: kobergj Date: Tue, 27 Dec 2022 14:25:39 +0000 Subject: [PATCH] commit 27155bbffc58b1a65861d90076465bb90a73520b Merge: d32f3cad0 e3c8cdfcf Author: kobergj Date: Tue Dec 27 15:24:14 2022 +0100 Merge pull request #5292 from owncloud/improve_description Improve extended env var description --- helpers/extended_vars.yaml | 3 ++- services/_includes/adoc/extended_configvars.adoc | 4 ++-- templates/ADOC_global.tmpl | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/helpers/extended_vars.yaml b/helpers/extended_vars.yaml index 9808b52601c..e0ce2b60a07 100644 --- a/helpers/extended_vars.yaml +++ b/helpers/extended_vars.yaml @@ -59,7 +59,8 @@ variables: default_value: '''/var/lib/ocis'' or ''$HOME/.ocis/''' description: The base directory location used by several services and for user data. Predefined to '/var/lib/ocis' for container images (inside the container) or '$HOME/.ocis/' - for binary releases. Can be adapted for services individually. + for binary releases. Services can have, if available, an individual setting with + an own environment variable. do_ignore: false - rawname: OCIS_CONFIG_DIR path: ocis-pkg/config/defaults/paths.go:56 diff --git a/services/_includes/adoc/extended_configvars.adoc b/services/_includes/adoc/extended_configvars.adoc index 3796b9240c7..ce7c2264b12 100644 --- a/services/_includes/adoc/extended_configvars.adoc +++ b/services/_includes/adoc/extended_configvars.adoc @@ -1,7 +1,7 @@ // collected through docs/helpers/rougeEnv.go [caption=] -.Environment variables with global scope not included in a service +.Environment variables with extended scope not included in a service [width="100%",cols="~,~,~,~",options="header"] |=== | Name @@ -42,7 +42,7 @@ a| [subs=-attributes] a| [subs=-attributes] ++'/var/lib/ocis' or '$HOME/.ocis/' ++ a| [subs=-attributes] -++The base directory location used by several services and for user data. Predefined to '/var/lib/ocis' for container images (inside the container) or '$HOME/.ocis/' for binary releases. Can be adapted for services individually. ++ +++The base directory location used by several services and for user data. Predefined to '/var/lib/ocis' for container images (inside the container) or '$HOME/.ocis/' for binary releases. Services can have, if available, an individual setting with an own environment variable. ++ a| `OCIS_CONFIG_DIR` + a| [subs=-attributes] diff --git a/templates/ADOC_global.tmpl b/templates/ADOC_global.tmpl index 6b0f5478f84..301369bdb3f 100644 --- a/templates/ADOC_global.tmpl +++ b/templates/ADOC_global.tmpl @@ -1,7 +1,7 @@ // collected through docs/helpers/rougeEnv.go [caption=] -.Environment variables with global scope not included in a service +.Environment variables with extended scope not included in a service [width="100%",cols="~,~,~,~",options="header"] |=== | Name