unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Adam Faiz <adam.faiz@disroot.org>
Cc: guix-devel@gnu.org
Subject: Re: Shepherd news + planned feature removal
Date: Sat, 25 Feb 2023 19:09:03 +0100	[thread overview]
Message-ID: <87leklwrb4.fsf@gnu.org> (raw)
In-Reply-To: <afa2cf42-13c8-25d6-206a-b3a741a1d68d@disroot.org> (Adam Faiz's message of "Fri, 24 Feb 2023 00:35:20 +0000")

Hi,

Adam Faiz <adam.faiz@disroot.org> skribis:

> I just have 1 question: Why is there a need for `herd status` to
> display whether a service is in a starting or stopping state?
>
> From the perspective of the shepherd, a service that is starting isn't
> running yet, and a service that is stopping isn't stopped yet.
> The "starting" and "stopping" states are just an implementation detail
> to handle the shepherd being asynchronous. It's the running and
> stopped states that a user wants to know about a service.

The way I see it, it’s more about improving the introspection
capabilities so that users can peek into service state as known to
shepherd.  I don’t see a good reason to hide that info.

Ludo’.


  parent reply	other threads:[~2023-02-25 18:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-24  0:35 Shepherd news + planned feature removal Adam Faiz
2023-02-24  5:14 ` Liliana Marie Prikler
2023-02-25 18:09 ` Ludovic Courtès [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-21 22:05 Ludovic Courtès
2023-02-22 15:28 ` Thompson, David

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87leklwrb4.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=adam.faiz@disroot.org \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).