[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/10: Rename '/root/etc/dmd' directory and 'do-not-kill' file.
From: |
Alex Kost |
Subject: |
03/10: Rename '/root/etc/dmd' directory and 'do-not-kill' file. |
Date: |
Fri, 29 Jan 2016 17:24:57 +0000 |
alezost pushed a commit to branch master
in repository guix.
commit b8c02c18b47f79f3410f76cb03d9690e6fd1a15e
Author: Alex Kost <address@hidden>
Date: Wed Jan 27 17:48:55 2016 +0300
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".
---
gnu/build/linux-boot.scm | 8 ++++----
gnu/services/base.scm | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/gnu/build/linux-boot.scm b/gnu/build/linux-boot.scm
index 0fc90af..c34a3f7 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)
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index fbb29c1..6483a66 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -325,7 +325,7 @@ in KNOWN-MOUNT-POINTS when it is stopped."
(define %do-not-kill-file
;; Name of the file listing PIDs of processes that must survive when halting
;; the system. Typical example is user-space file systems.
- "/etc/dmd/do-not-kill")
+ "/etc/shepherd/do-not-kill")
(define user-processes-service-type
(dmd-service-type
- branch master updated (6d97319 -> 171a0a1), Alex Kost, 2016/01/29
- 01/10: gnu: elogind: Use 'shepherd' input., Alex Kost, 2016/01/29
- 02/10: Use 'shepherd' instead of 'dmd' as init system., Alex Kost, 2016/01/29
- 03/10: Rename '/root/etc/dmd' directory and 'do-not-kill' file.,
Alex Kost <=
- 07/10: services: xorg: Use 'shepherd' instead of 'dmd'., Alex Kost, 2016/01/29
- 04/10: doc: Replace references to 'dmd' with 'shepherd'., Alex Kost, 2016/01/29
- 10/10: Rename 'dmd' to 'shepherd' in comments and strings., Alex Kost, 2016/01/29
- 06/10: services: shepherd: Rename shepherd configuration file., Alex Kost, 2016/01/29
- 09/10: guix system: Rename 'dmd-graph' to 'shepherd-graph'., Alex Kost, 2016/01/29
- 05/10: Rename (gnu services dmd) to (gnu services shepherd)., Alex Kost, 2016/01/29
- 08/10: services: Rename 'dmd' services to 'shepherd'., Alex Kost, 2016/01/29