diff options
author | 45mg <45mg.writes@gmail.com> | 2024-12-27 08:29:52 -0500 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2025-01-04 23:35:40 +0100 |
commit | 66df3296c4a8012c745c792cd95edfe2aad81031 (patch) | |
tree | d9c2ba5f44a97ac00bd8f6afe3652279ca750d8e /doc/guix.texi | |
parent | f8513cef62ecdba5d4d2d7c608338328ae964652 (diff) |
services: dnsmasq: Allow custom Shepherd provision
Allow users to have multiple dnsmasq instances by specifying different
`provision` values for the corresponding Shepherd services, similar to
what is done with `static-networking-service-type`.
* gnu/services/dns.scm (<dnsmasq-configuration>)[provision]: new option.
(dnsmasq-shepherd-service): Use supplied provision value.
* doc/guix.texi (DNS Services)[dnsmasq-configuration]: Document it.
Change-Id: I78c7f015cb1db239a600bc5373b2fd80e8b9b9f4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 924f13f0f6..605f822d2b 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -34169,6 +34169,10 @@ Data type representing the configuration of dnsmasq. @item @code{package} (default: @var{dnsmasq}) Package object of the dnsmasq server. +@item @code{provision} (default: @code{'(dnsmasq)}) +A list of symbols for the Shepherd service corresponding to this dnsmasq +configuration. + @item @code{no-hosts?} (default: @code{#f}) When true, don't read the hostnames in /etc/hosts. |