guix-commits
[Top][All Lists]
Advanced

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

15/36: services: Add user-processes-service as a Hurd service.


From: guix-commits
Subject: 15/36: services: Add user-processes-service as a Hurd service.
Date: Mon, 27 Apr 2020 06:19:46 -0400 (EDT)

janneke pushed a commit to branch wip-hurd-vm
in repository guix.

commit 2679e8fc0200d671769d006e27bb941009f2a1f5
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Mon Apr 13 11:04:09 2020 +0200

    services: Add user-processes-service as a Hurd service.
    
    The `guix-daemon' service type depends on `user-services'.
    
    * gnu/services/hurd.scm (user-services-shepherd-service): New variable.
    (hurd-service->shepherd-service): Add entry.
---
 gnu/services/hurd.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/services/hurd.scm b/gnu/services/hurd.scm
index 30ab31b..421843f 100644
--- a/gnu/services/hurd.scm
+++ b/gnu/services/hurd.scm
@@ -44,6 +44,7 @@
     (match config
       (($ <hurd-console-configuration>) (hurd-console-shepherd-service config))
       (($ <hurd-ttys-configuration>) (hurd-ttys-shepherd-service config))
+      (('user-processes) (user-processes-shepherd-service '()))
       (_ '()))))
 
 (define (first-of-two first second)
@@ -51,6 +52,14 @@
 
 
 ;;;
+;;; Bridge for user-processes service, required for guix-daemon.
+;;;
+
+(define user-processes-shepherd-service
+  (@@ (gnu services shepherd) user-processes-shepherd-service))
+
+
+;;;
 ;;; Simple wrapper for <hurd>/bin/console.
 ;;;
 



reply via email to

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