guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] openssh service


From: Andy Wingo
Subject: Re: [PATCH] openssh service
Date: Fri, 05 Aug 2016 15:47:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

On Fri 05 Aug 2016 14:18, Julien Lepiller <address@hidden> writes:

> here is a patch that adds a service definition for openssh.

Very nice!

> +      (let ((pid (primitive-fork)))
> +        (case pid
> +          ((0)
> +           (execl (string-append #$openssh "/bin/ssh-keygen")
> +                  "ssh-keygen" "-A")
> +          (else
> +           (zero? (cdr (waitpid pid)))))))

I guess you could system* this one instead; would be easier I think.
Dunno.

Other than that looks all good to me.  Would need an addition to the
manual eventually though.

Andy



reply via email to

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