mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
services: lsh: Change #:initialize? to default to #t.
* gnu/services/ssh.scm (lsh-service): Change #:initialize? to default to #t. * doc/guix.texi (Using the Configuration System): Remove #:initialize? #t from example. (Networking Services): Adjust accordingly.
This commit is contained in:
parent
849eebbb38
commit
21cc905ac2
2 changed files with 3 additions and 4 deletions
|
@ -3776,8 +3776,7 @@ kernel, initial RAM disk, and boot loader looks like this:
|
|||
(comment "Bob's sister")
|
||||
(home-directory "/home/alice"))))
|
||||
(packages (cons emacs %base-packages))
|
||||
(services (cons (lsh-service #:port 2222 #:root-login? #t
|
||||
#:initialize? #t)
|
||||
(services (cons (lsh-service #:port 2222 #:root-login? #t)
|
||||
%base-services)))
|
||||
@end lisp
|
||||
|
||||
|
@ -4596,7 +4595,7 @@ Furthermore, @code{(gnu services ssh)} provides the following service.
|
|||
[#:allow-empty-passwords? #f] [#:root-login? #f] @
|
||||
[#:syslog-output? #t] [#:x11-forwarding? #t] @
|
||||
[#:tcp/ip-forwarding? #t] [#:password-authentication? #t] @
|
||||
[#:public-key-authentication? #t] [#:initialize? #f]
|
||||
[#:public-key-authentication? #t] [#:initialize? #t]
|
||||
Run the @command{lshd} program from @var{lsh} to listen on port @var{port-number}.
|
||||
@var{host-key} must designate a file containing the host key, and readable
|
||||
only by root.
|
||||
|
|
|
@ -86,7 +86,7 @@ (define* (lsh-service #:key
|
|||
(tcp/ip-forwarding? #t)
|
||||
(password-authentication? #t)
|
||||
(public-key-authentication? #t)
|
||||
initialize?)
|
||||
(initialize? #t))
|
||||
"Run the @command{lshd} program from @var{lsh} to listen on port @var{port-number}.
|
||||
@var{host-key} must designate a file containing the host key, and readable
|
||||
only by root.
|
||||
|
|
Loading…
Reference in a new issue