guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] openssh service


From: Julien Lepiller
Subject: Re: [PATCH] openssh service
Date: Fri, 5 Aug 2016 16:20:49 +0200

On Fri, 05 Aug 2016 15:47:50 +0200
Andy Wingo <address@hidden> wrote:

> 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.

I modified my patch, so you can choose whichever feels better.

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

> 
> Andy

Attachment: 0001-services-Add-openssh.patch
Description: Text Data


reply via email to

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