[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
- [SHEPHERD] [PATCH 0/8]: More dmd -> shepherd patches., Alex Kost, 2016/01/25
- [PATCH 2/8] tests: Rename 'dmd_pid' to 'shepherd_pid'., Alex Kost, 2016/01/25
- [PATCH 1/8] tests: misbehaved-client: Rename 'dmd' to 'root'., Alex Kost, 2016/01/25
- [PATCH 3/8] ChangeLog: Rename git repository., Alex Kost, 2016/01/25
- [PATCH 4/8] support: Rename 'make-dmd-user-module' to 'make-user-module'., Alex Kost, 2016/01/25
- [PATCH 6/8] support: Rename state file.,
Alex Kost <=
- [PATCH 5/8] Rename default system configuration file., Alex Kost, 2016/01/25
- [PATCH 7/8] utils: Rename 'dmd-gettext.scm' to 'shepherd-gettext.scm'., Alex Kost, 2016/01/25