Paste number 306007: Switch GuixSD to the Shepherd

Paste number 306007: Switch GuixSD to the Shepherd
Pasted by: civodul
When:5 years, 10 months ago
Share:Tweet this! | http://paste.lisp.org/+6K47
Channel:None
Paste contents:
Raw Source | XML | Display As
diff --git a/gnu/services/dmd.scm b/gnu/services/dmd.scm
index fb3d332..cdb4f97 100644
--- a/gnu/services/dmd.scm
+++ b/gnu/services/dmd.scm
@@ -78,8 +78,8 @@
                     (loop (+ 1 fd))))
 
                 ;; Start dmd.
-                (execl (string-append #$dmd "/bin/dmd")
-                       "dmd" "--config" #$dmd-conf)))))
+                (execl (string-append #$shepherd "/bin/shepherd")
+                       "shepherd" "--config" #$dmd-conf)))))
 
 (define dmd-root-service-type
   (service-type
@@ -90,7 +90,7 @@
    (extend append)
    (extensions (list (service-extension boot-service-type dmd-boot-gexp)
                      (service-extension profile-service-type
-                                        (const (list dmd)))))))
+                                        (const (list shepherd)))))))
 
 (define %dmd-root-service
   ;; The root dmd service, aka. PID 1.  Its parameter is a list of
@@ -113,7 +113,7 @@ service that extends DMD-ROOT-SERVICE-TYPE and nothing else."
 
 (define %default-modules
   ;; Default set of modules visible in a service's file.
-  `((dmd service)
+  `((shepherd service)
     (oop goops)
     (guix build utils)
     (guix build syscalls)))

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.