guix-commits
[Top][All Lists]
Advanced

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

[shepherd] 07/09: support: Rename state file.


From: Alex Kost
Subject: [shepherd] 07/09: support: Rename state file.
Date: Tue, 26 Jan 2016 09:40:27 +0000

alezost pushed a commit to branch master
in repository shepherd.

commit 052312ff9596c8796d1282b330b1695b5450fffb
Author: Alex Kost <address@hidden>
Date:   Mon Jan 25 12:59:54 2016 +0300

    support: Rename state file.
    
    * modules/shepherd/support.scm (default-persistency-state-file): Use
      "shepherd" instead of "dmd".
---
 modules/shepherd/support.scm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/shepherd/support.scm b/modules/shepherd/support.scm
index ec23e2f..68a8c80 100644
--- a/modules/shepherd/support.scm
+++ b/modules/shepherd/support.scm
@@ -308,8 +308,8 @@ create a template configuration file if non exists."
 ;; Saving the state on exit.
 (define default-persistency-state-file
   (if (zero? (getuid))
-      (string-append %localstatedir "/lib/misc/dmd-state")
-      (string-append %user-config-dir "/dmd-state")))
+      (string-append %localstatedir "/lib/shepherd/state")
+      (string-append %user-config-dir "/state")))
 
 ;; Global variables set from (dmd).
 (define persistency #f)



reply via email to

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