guix-commits
[Top][All Lists]
Advanced

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

[shepherd] 01/01: reboot, halt: Rename 'dmd' to 'root'.


From: Alex Kost
Subject: [shepherd] 01/01: reboot, halt: Rename 'dmd' to 'root'.
Date: Mon, 25 Jan 2016 08:52:14 +0000

alezost pushed a commit to branch master
in repository shepherd.

commit c3c448733b18c286fc428a75299eaf2f2ebb911a
Author: Alex Kost <address@hidden>
Date:   Mon Jan 25 11:48:01 2016 +0300

    reboot, halt: Rename 'dmd' to 'root'.
    
    This is a followup to commit cddf6a5aed5c66f91b93a84afa4b5dadde743b13.
    
    * modules/halt.scm (main): Use 'root' service name instead of 'dmd'.
    * modules/reboot.scm (main): Likewise.
---
 modules/halt.scm   |    2 +-
 modules/reboot.scm |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/halt.scm b/modules/halt.scm
index 75497d8..86603d4 100644
--- a/modules/halt.scm
+++ b/modules/halt.scm
@@ -49,7 +49,7 @@
       (with-system-error-handling
        (let ((sock (open-connection socket-file)))
          ;; Send the command without further ado.
-         (write-command (shepherd-command 'power-off 'dmd) sock)
+         (write-command (shepherd-command 'power-off 'root) sock)
 
          ;; Receive output if we're not already dead.
          (match (read sock)
diff --git a/modules/reboot.scm b/modules/reboot.scm
index 8642ac2..54cb4ed 100644
--- a/modules/reboot.scm
+++ b/modules/reboot.scm
@@ -49,7 +49,7 @@
       (with-system-error-handling
        (let ((sock (open-connection socket-file)))
          ;; Send the command without further ado.
-         (write-command (shepherd-command 'stop 'dmd) sock)
+         (write-command (shepherd-command 'stop 'root) sock)
 
          ;; Receive output if we're not already dead.
          (match (read sock)



reply via email to

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