guix-patches
[Top][All Lists]
Advanced

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

[bug#53486] [PATCH] deploy: Add '--execute'.


From: Ludovic Courtès
Subject: [bug#53486] [PATCH] deploy: Add '--execute'.
Date: Mon, 31 Jan 2022 23:44:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hi,

Oleg Pykhalov <go.wigust@gmail.com> skribis:

> Ludovic Courtès <ludo@gnu.org> writes:
>
> […]
>
>> Here's a simple but handy option for ‘guix deploy’.
>>
>> One of the primary use cases for me is being able to run ‘herd
>> restart XYZ’ after deployment, but I’m also thinking of adding
>> special support for such things in <machine>:
>
> I think for non ‘guix deploy’ users such functionality should exist,
> too.  Otherwise the users could use ‘guix deploy’ by deploying to
> localhost instead of ‘guix system reconfigure’.  So to avoid this we
> need such things in <operating-system>.

So that ‘guix system reconfigure’ would unconditionally refer the
Shepherd services you specify?

It’s a bit “weird”, because that information has to do with “state
transition” more than about the OS config, but why not.  Actually
‘unattended-service-type’ already has such a list, so it does seem like
the pattern comes up several times.  Hmm!

Ludo’.





reply via email to

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