guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 1/2] dmd: Add dmd action unload: unload known services.


From: Ludovic Courtès
Subject: Re: [PATCH 1/2] dmd: Add dmd action unload: unload known services.
Date: Wed, 12 Mar 2014 18:45:28 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Alex Sassmannshausen <address@hidden> skribis:

> * modules/dmd/service.scm (deregister-services): New procedure.
>   (dmd-service): Add new action: unload.
> * dmd.texi (The 'dmd' and 'unknown' services): Document 'unload'.
> * tests/basic.sh: Add 'unload' tests (stop single service  & 'all').

Applied with minor changes.

> address@hidden unload @var{service-name}
> +Attempt to remove the service identified by @var{service-name}.
> address@hidden will first stop the service, if necessary, and then
> +remove it from the list of registered services.  Any services
> +depending upon @var{service-name} will be stopped as part of this
> +process.  If @var{service-name} simply does not exist, output a

I added a newline before “If” so that the main info is more easily
visible, and the paragraph is less intimidating.  ;-)

> +$deco unload dmd test
> +
> +$deco status dmd | grep "Stopped: (test-2)"
> +
> +$deco unload dmd all
> +
> +$deco status dmd | grep "Stopped: ()"

I added a test to make sure we get “Started: (dmd)”.

Thanks!

Ludo’.



reply via email to

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