~ruther/guix-local

fde40c98f916d36746dd78e742dff576146beef7 — Ludovic Courtès 10 years ago 4331f55
services: lsh: Correctly handle #:interfaces option.

* gnu/services/ssh.scm (lsh-dmd-service)[lsh-command]: Pass a series of
--interface flags instead of the nonexistent --interfaces option.
1 files changed, 3 insertions(+), 2 deletions(-)

M gnu/services/ssh.scm
M gnu/services/ssh.scm => gnu/services/ssh.scm +3 -2
@@ 23,6 23,7 @@
  #:use-module (gnu services dmd)
  #:use-module (gnu system pam)
  #:use-module (gnu packages lsh)
  #:use-module (srfi srfi-26)
  #:export (lsh-service))

;;; Commentary:


@@ 142,8 143,8 @@
                "--tcpip-forward" "--no-tcpip-forward")
            (if (null? interfaces)
                '()
                (list (string-append "--interfaces="
                                     (string-join interfaces ",")))))))
                (map (cut string-append "--interface=" <>)
                     interfaces)))))

  (define requires
    (if (and daemonic? (lsh-configuration-syslog-output? config))