diff options
| author | Julien Lepiller <julien@lepiller.eu> | 2019-04-19 22:20:03 +0200 |
|---|---|---|
| committer | Julien Lepiller <julien@lepiller.eu> | 2019-04-25 21:44:55 +0200 |
| commit | 92eb600f8a94afa36142f8f145efaa485b632433 (patch) | |
| tree | 1745a9f7607012f703119b493017f5958e1280a6 /doc | |
| parent | ca3cf2d58ec3aef566fd0cf9d467df501cab9802 (diff) | |
gnu: knot-service: Add includes field in configuration.
* gnu/services/dns.scm (knot-configuration): Add includes field.
(verify-knot-configuration): Check includes content.
(knot-config-file): Serialize includes.
* doc/guix.texi (DNS Services): Document it.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/guix.texi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index dbbb811a60b..2d5ec867eaf 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -19843,6 +19843,19 @@ The Knot package. | |||
| 19843 | @item @code{run-directory} (default: @code{"/var/run/knot"}) | 19843 | @item @code{run-directory} (default: @code{"/var/run/knot"}) |
| 19844 | The run directory. This directory will be used for pid file and sockets. | 19844 | The run directory. This directory will be used for pid file and sockets. |
| 19845 | 19845 | ||
| 19846 | @item @code{includes} (default: @code{'()}) | ||
| 19847 | A list of strings or file-like objects denoting other files that must be | ||
| 19848 | included at the top of the configuration file. | ||
| 19849 | |||
| 19850 | @cindex secrets, Knot service | ||
| 19851 | This can be used to manage secrets out-of-band. For example, secret | ||
| 19852 | keys may be stored in an out-of-band file not managed by Guix, and | ||
| 19853 | thus not visible in @file{/gnu/store}---e.g., you could store secret | ||
| 19854 | key configuration in @file{/etc/knot/secrets.conf} and add this file | ||
| 19855 | to the @code{includes} list. | ||
| 19856 | |||
| 19857 | It can also be used to add configuration not supported by this interface. | ||
| 19858 | |||
| 19846 | @item @code{listen-v4} (default: @code{"0.0.0.0"}) | 19859 | @item @code{listen-v4} (default: @code{"0.0.0.0"}) |
| 19847 | An ip address on which to listen. | 19860 | An ip address on which to listen. |
| 19848 | 19861 | ||
