[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/06: services: lsh: Correctly handle #:interfaces option.
From: |
Ludovic Courtès |
Subject: |
02/06: services: lsh: Correctly handle #:interfaces option. |
Date: |
Fri, 27 Nov 2015 23:05:32 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit fde40c98f916d36746dd78e742dff576146beef7
Author: Ludovic Courtès <address@hidden>
Date: Fri Nov 27 22:46:27 2015 +0100
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.
---
gnu/services/ssh.scm | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/services/ssh.scm b/gnu/services/ssh.scm
index 18556d2..4b0380e 100644
--- a/gnu/services/ssh.scm
+++ b/gnu/services/ssh.scm
@@ -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))
- branch master updated (ef8742e -> ae4427e), Ludovic Courtès, 2015/11/27
- 02/06: services: lsh: Correctly handle #:interfaces option.,
Ludovic Courtès <=
- 06/06: substitute: Warn upon store prefix mismatches., Ludovic Courtès, 2015/11/27
- 01/06: gnu: tor: Update to 0.2.7.5., Ludovic Courtès, 2015/11/27
- 03/06: services: Add 'tor-hidden-service'., Ludovic Courtès, 2015/11/27
- 04/06: services: tor: Write to syslog., Ludovic Courtès, 2015/11/27
- 05/06: services: tor: Store private data under /var/lib/tor., Ludovic Courtès, 2015/11/27