diff --git a/gnu/build/linux-boot.scm b/gnu/build/linux-boot.scm index 0fc90af6a352178b668860349951c75d10068693..c34a3f7c18eedfa79c75c4918133ebc0d0414985 100644 --- a/gnu/build/linux-boot.scm +++ b/gnu/build/linux-boot.scm @@ -242,10 +242,10 @@ (define* (mount-root-file-system root type 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 fbb29c1ee2e276fa2c45f9361fca32756cf07e01..6483a66b5ad2388054fbc1d9198ef90e04185f0c 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -325,7 +325,7 @@ (define (user-unmount-service known-mount-points) (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