guix-devel
[Top][All Lists]
Advanced

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

Re: Shepherd news + planned feature removal


From: Ludovic Courtès
Subject: Re: Shepherd news + planned feature removal
Date: Sat, 25 Feb 2023 19:09:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

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’.



reply via email to

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