From: ludo@gnu.org (Ludovic Courtès)
To: Alex Kost <alezost@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 6/8] support: Rename state file.
Date: Mon, 25 Jan 2016 16:11:03 +0100 [thread overview]
Message-ID: <877fixlmns.fsf@gnu.org> (raw)
In-Reply-To: <1453719021-13836-7-git-send-email-alezost@gmail.com> (Alex Kost's message of "Mon, 25 Jan 2016 13:50:19 +0300")
Alex Kost <alezost@gmail.com> skribis:
> * modules/shepherd/support.scm (default-persistency-state-file): Use
> "shepherd" instead of "dmd".
[..]
> 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")))
OK!
Eventually, in the non-root case, we should have a %user-state-dir
following the XDG specs to store this file.
Ludo’.
next prev parent reply other threads:[~2016-01-25 15:11 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-25 10:50 [SHEPHERD] [PATCH 0/8]: More dmd -> shepherd patches Alex Kost
2016-01-25 10:50 ` [PATCH 1/8] tests: misbehaved-client: Rename 'dmd' to 'root' Alex Kost
2016-01-25 15:07 ` Ludovic Courtès
2016-01-25 10:50 ` [PATCH 2/8] tests: Rename 'dmd_pid' to 'shepherd_pid' Alex Kost
2016-01-25 15:07 ` Ludovic Courtès
2016-01-25 10:50 ` [PATCH 3/8] ChangeLog: Rename git repository Alex Kost
2016-01-25 15:07 ` Ludovic Courtès
2016-01-25 10:50 ` [PATCH 4/8] support: Rename 'make-dmd-user-module' to 'make-user-module' Alex Kost
2016-01-25 15:08 ` Ludovic Courtès
2016-01-25 10:50 ` [PATCH 5/8] Rename default system configuration file Alex Kost
2016-01-25 15:08 ` Ludovic Courtès
2016-01-25 10:50 ` [PATCH 6/8] support: Rename state file Alex Kost
2016-01-25 15:11 ` Ludovic Courtès [this message]
2016-01-25 19:26 ` Efraim Flashner
2016-01-25 19:36 ` Efraim Flashner
2016-01-25 10:50 ` [PATCH 7/8] utils: Rename 'dmd-gettext.scm' to 'shepherd-gettext.scm' Alex Kost
2016-01-25 15:12 ` Ludovic Courtès
2016-01-25 15:59 ` Alex Kost
2016-01-25 21:51 ` Ludovic Courtès
2016-01-26 9:42 ` Alex Kost
2016-01-25 10:50 ` [PATCH 8/8] Replace "dmd" with "shepherd" in comments and strings Alex Kost
2016-01-25 15:13 ` Ludovic Courtès
2016-01-25 16:14 ` Alex Kost
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877fixlmns.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=alezost@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.