guix-devel
[Top][All Lists]
Advanced

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

[PATCH 6/8] support: Rename state file.


From: Alex Kost
Subject: [PATCH 6/8] support: Rename state file.
Date: Mon, 25 Jan 2016 13:50:19 +0300

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

diff --git a/modules/shepherd/support.scm b/modules/shepherd/support.scm
index f161056..aae8b3c 100644
--- a/modules/shepherd/support.scm
+++ b/modules/shepherd/support.scm
@@ -296,8 +296,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)
-- 
2.6.3




reply via email to

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