unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: "Jakob L. Kreuze" <zerodaysfordays@sdf.lonestar.org>
Cc: 36517@debbugs.gnu.org
Subject: bug#36517: 'guix deploy' does not restart services
Date: Thu, 11 Jul 2019 17:32:31 +0200	[thread overview]
Message-ID: <878st4vb74.fsf@gnu.org> (raw)
In-Reply-To: <87pnmof4lf.fsf@sdf.lonestar.org> (Jakob L. Kreuze's message of "Fri, 05 Jul 2019 19:23:40 -0400")

Hi,

zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) skribis:

> This issue is described in more detail at [1]. Essentially, 'guix
> deploy' is will happily load and start new services, as well as unload
> obsolete services, but does nothing to restart valid services that are
> already running.

That’s not a bug: ‘guix system reconfigure’ does not restart already
running services, simply because it cannot tell whether now is a good
time to restart them.  It’s a decision that’s left to the system
administrator.

However, note that ‘guix system reconfigure’ loads “replacements” for
each Shepherd service, such that next time you run ‘herd restart FOO’,
you spawn that new version of FOO.

Does that make sense?

Thanks,
Ludo’.

  reply	other threads:[~2019-07-11 15:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-05 23:23 bug#36517: 'guix deploy' does not restart services Jakob L. Kreuze
2019-07-11 15:32 ` Ludovic Courtès [this message]
2019-07-11 17:05   ` Jakob L. Kreuze
2019-07-12 20:43     ` Ludovic Courtès
2019-07-13 17:14       ` Jakob L. Kreuze
2019-08-24 13:22         ` Ludovic Courtès
2019-08-24 17:44           ` Jakob L. Kreuze
2019-08-26  8:19             ` Ludovic Courtès

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=878st4vb74.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=36517@debbugs.gnu.org \
    --cc=zerodaysfordays@sdf.lonestar.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).