summary refs log tree commit diff
path: root/gnu/build
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2016-01-27 17:48:55 +0300
committerAlex Kost <alezost@gmail.com>2016-01-29 20:20:19 +0300
commitb8c02c18b47f79f3410f76cb03d9690e6fd1a15e (patch)
tree9f065acab68b8461253ea61f3a2590cf0cfa5ae9 /gnu/build
parent34044d551f84cd5cd2568145f4ad3eaf690154ba (diff)
downloadguix-b8c02c18b47f79f3410f76cb03d9690e6fd1a15e.tar.gz
Rename '/root/etc/dmd' directory and 'do-not-kill' file.
* gnu/services/base.scm (%do-not-kill-file): Rename to
  "/etc/shepherd/do-not-kill".
* gnu/build/linux-boot.scm (mount-root-file-system): Rename
  "/root/etc/dmd" to "/root/etc/shepherd".
Diffstat (limited to 'gnu/build')
-rw-r--r--gnu/build/linux-boot.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/build/linux-boot.scm b/gnu/build/linux-boot.scm
index 0fc90af6a3..c34a3f7c18 100644
--- a/gnu/build/linux-boot.scm
+++ b/gnu/build/linux-boot.scm
@@ -242,10 +242,10 @@ the last argument of `mknod'."
 is true, mount ROOT read-only and make it a union with a writable tmpfs using
 UNIONFS."
   (define (mark-as-not-killable pid)
-    ;; Tell the 'user-processes' dmd service that PID must be kept alive when
-    ;; shutting down.
-    (mkdir-p "/root/etc/dmd")
-    (let ((port (open-file "/root/etc/dmd/do-not-kill" "a")))
+    ;; Tell the 'user-processes' shepherd service that PID must be kept alive
+    ;; when shutting down.
+    (mkdir-p "/root/etc/shepherd")
+    (let ((port (open-file "/root/etc/shepherd/do-not-kill" "a")))
       (chmod port #o600)
       (write pid port)
       (newline port)