Document prettyPrint config option (#2292)

Moo
Maxime Besson 5 years ago
parent 971f132b03
commit d8c745410c
  1. 7
      doc/sources/admin/fileconfbackend.rst
  2. 4
      doc/sources/admin/parameterlist.rst
  3. 2
      lemonldap-ng-common/lemonldap-ng.ini

@ -26,4 +26,11 @@ it in [configuration] section in your lemonldap-ng.ini file:
[configuration]
type = File
dirName = /var/lib/lemonldap-ng/conf
prettyPrint = 1
Parameters
----------
* `dirName`: directory under which the configuration files will be stored. It must be writable by your webserver account
* `prettyPrint`: store files in a readable. Set it to 0 to get a small performance increase when loading/saving configuration

@ -620,12 +620,11 @@ Configuration backend parameters
Full name Key name Configuration backend
============================================================================= ==================== ===========================================================
Configuration load timeout confTimeout all backends (default: 10)
Directory dirName :doc:`File<fileconfbackend>`
DBI connection string dbiChain :doc:`CDBI / RDBI<sqlconfbackend>`
DBI user dbiUser
DBI password dbiPassword
DBI table name dbiTable
Storage directory dirName :doc:`File<fileconfbackend>` / :doc:`YAML<yamlconfbackend>`
Directory dirName :doc:`File<fileconfbackend>` / :doc:`YAML<yamlconfbackend>`
LDAP server ldapServer :doc:`LDAP<ldapconfbackend>`
LDAP port ldapPort
LDAP base ldapConfBase
@ -638,6 +637,7 @@ Certificate authorities file ca
Certificate authorities directory caPath
MongoDB database dbName :doc:`MongoDB<mongodbconfbackend>`
MongoDB collection collectionName
Pretty print prettyPrint :doc:`File<fileconfbackend>`
REST base URL baseUrl :doc:`REST<restconfbackend>`
REST realm realm
REST user user

@ -111,6 +111,8 @@ checkTime = 1
;
; type = File ; or type = YAMLFile
; dirName = /var/lib/lemonldap-ng/conf
; ; Optimize JSON for readability instead of performance
; prettyPrint = 1
;
; * RDBI/CDBI : you have to set 'dbiChain' (required) and 'dbiUser' and 'dbiPassword'
; if needed. Example:

Loading…
Cancel
Save