guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: services: lsh: Change #:initialize? to default to #t.


From: Ludovic Courtès
Subject: 02/02: services: lsh: Change #:initialize? to default to #t.
Date: Fri, 03 Apr 2015 20:58:57 +0000

civodul pushed a commit to branch master
in repository guix.

commit 21cc905ac20c1e9dec4610f92b3d2202f2e9dcb2
Author: Ludovic Courtès <address@hidden>
Date:   Fri Apr 3 22:12:26 2015 +0200

    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.
---
 doc/guix.texi        |    5 ++---
 gnu/services/ssh.scm |    2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 677fc57..fdf65c7 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -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.
diff --git a/gnu/services/ssh.scm b/gnu/services/ssh.scm
index 9537958..e2f8542 100644
--- a/gnu/services/ssh.scm
+++ b/gnu/services/ssh.scm
@@ -86,7 +86,7 @@
                       (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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]