summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-02-25 18:57:59 +0000
committerLudovic Courtès <ludo@gnu.org>2023-03-03 17:55:33 +0100
commit3b2e88011a485293bd11b25466ffbaa8791ec64a (patch)
tree1056a0fe73d832c5007cb99b0afdb1a9697d8415 /doc
parent0e21015fd2214aade16de35ce5a79bcc192530c7 (diff)
services: ssh: Deprecate 'dropbear-service' procedure.
* doc/guix.texi (Networking Services): Replace 'dropbear-service' with 'dropbear-service-type'. * gnu/services/ssh.scm (dropbear-service): Deprecate procedure. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi17
1 files changed, 8 insertions, 9 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 9c30e97466b..61359183f17 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -20983,19 +20983,18 @@ Match Address 192.168.0.1
20983@end table 20983@end table
20984@end deftp 20984@end deftp
20985 20985
20986@deffn {Scheme Procedure} dropbear-service [@var{config}] 20986@defvar dropbear-service-type
20987Run the @uref{https://matt.ucc.asn.au/dropbear/dropbear.html,Dropbear SSH 20987Type of the service that runs the
20988daemon} with the given @var{config}, a @code{<dropbear-configuration>} 20988@url{https://matt.ucc.asn.au/dropbear/dropbear.html, Dropbear SSH daemon},
20989object. 20989whose value is a @code{<dropbear-configuration>} object.
20990 20990
20991For example, to specify a Dropbear service listening on port 1234, add 20991For example, to specify a Dropbear service listening on port 1234:
20992this call to the operating system's @code{services} field:
20993 20992
20994@lisp 20993@lisp
20995(dropbear-service (dropbear-configuration 20994(service dropbear-service-type (dropbear-configuration
20996 (port-number 1234))) 20995 (port-number 1234)))
20997@end lisp 20996@end lisp
20998@end deffn 20997@end defvar
20999 20998
21000@deftp {Data Type} dropbear-configuration 20999@deftp {Data Type} dropbear-configuration
21001This data type represents the configuration of a Dropbear SSH daemon. 21000This data type represents the configuration of a Dropbear SSH daemon.