From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: [PATCH 6/8] support: Rename state file. Date: Mon, 25 Jan 2016 13:50:19 +0300 Message-ID: <1453719021-13836-7-git-send-email-alezost@gmail.com> References: <1453719021-13836-1-git-send-email-alezost@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNejt-0006c5-94 for guix-devel@gnu.org; Mon, 25 Jan 2016 05:51:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNejs-0006xy-Fv for guix-devel@gnu.org; Mon, 25 Jan 2016 05:51:17 -0500 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]:33032) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNejs-0006xi-8X for guix-devel@gnu.org; Mon, 25 Jan 2016 05:51:16 -0500 Received: by mail-lf0-x243.google.com with SMTP id z62so7689624lfd.0 for ; Mon, 25 Jan 2016 02:51:16 -0800 (PST) Received: from localhost.localdomain ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id p138sm2595299lfb.22.2016.01.25.02.51.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Jan 2016 02:51:15 -0800 (PST) In-Reply-To: <1453719021-13836-1-git-send-email-alezost@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * 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