summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-03-08 01:22:06 +0000
committerLudovic Courtès <ludo@gnu.org>2023-03-13 15:08:35 +0100
commiteec5b16d7068610554195f7fcfdfa7d974869a9a (patch)
treecc02b861f4ce35cda8540bec6c6371003ed0957f /doc
parent7b743d4f6864427883766f1d9657f8c106cb83c0 (diff)
doc: Fix incorrect @deffn usage for service-types.
* doc/guix.texi (Networking Services): Fix incorrect @deffn usage for service-types. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 95c954bfcf9..b8da614680b 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -20043,7 +20043,7 @@ running a WiFi access point with @command{hostapd}, running the
20043@command{inetd} ``superdaemon'', and more. This section describes 20043@command{inetd} ``superdaemon'', and more. This section describes
20044those. 20044those.
20045 20045
20046@deffn {Scheme Procedure} dhcpd-service-type 20046@defvar dhcpd-service-type
20047This type defines a service that runs a DHCP daemon. To create a 20047This type defines a service that runs a DHCP daemon. To create a
20048service of this type, you must supply a @code{<dhcpd-configuration>}. 20048service of this type, you must supply a @code{<dhcpd-configuration>}.
20049For example: 20049For example:
@@ -20054,7 +20054,7 @@ For example:
20054 (config-file (local-file "my-dhcpd.conf")) 20054 (config-file (local-file "my-dhcpd.conf"))
20055 (interfaces '("enp0s25")))) 20055 (interfaces '("enp0s25"))))
20056@end lisp 20056@end lisp
20057@end deffn 20057@end defvar
20058 20058
20059@deftp {Data Type} dhcpd-configuration 20059@deftp {Data Type} dhcpd-configuration
20060@table @asis 20060@table @asis
@@ -20290,7 +20290,7 @@ to use with the options @option{iburst} and @option{prefer}, as well as
20290@end deftp 20290@end deftp
20291 20291
20292@cindex OpenNTPD 20292@cindex OpenNTPD
20293@deffn {Scheme Procedure} openntpd-service-type 20293@defvar openntpd-service-type
20294Run the @command{ntpd}, the Network Time Protocol (NTP) daemon, as implemented 20294Run the @command{ntpd}, the Network Time Protocol (NTP) daemon, as implemented
20295by @uref{http://www.openntpd.org, OpenNTPD}. The daemon will keep the system 20295by @uref{http://www.openntpd.org, OpenNTPD}. The daemon will keep the system
20296clock synchronized with that of the given servers. 20296clock synchronized with that of the given servers.
@@ -20305,7 +20305,7 @@ clock synchronized with that of the given servers.
20305 (constraints-from '("https://www.google.com/")))) 20305 (constraints-from '("https://www.google.com/"))))
20306 20306
20307@end lisp 20307@end lisp
20308@end deffn 20308@end defvar
20309 20309
20310@defvar %openntpd-servers 20310@defvar %openntpd-servers
20311This variable is a list of the server addresses defined in 20311This variable is a list of the server addresses defined in