From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#36517: 'guix deploy' does not restart services Date: Thu, 11 Jul 2019 17:32:31 +0200 Message-ID: <878st4vb74.fsf@gnu.org> References: <87pnmof4lf.fsf@sdf.lonestar.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53939) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlb4E-0002UW-T7 for bug-guix@gnu.org; Thu, 11 Jul 2019 11:33:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlb4C-0001lw-Sb for bug-guix@gnu.org; Thu, 11 Jul 2019 11:33:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57817) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hlb4A-0001jn-6N for bug-guix@gnu.org; Thu, 11 Jul 2019 11:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hlb4A-000470-0x for bug-guix@gnu.org; Thu, 11 Jul 2019 11:33:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87pnmof4lf.fsf@sdf.lonestar.org> (Jakob L. Kreuze's message of "Fri, 05 Jul 2019 19:23:40 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: "Jakob L. Kreuze" Cc: 36517@debbugs.gnu.org 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=E2=80=99s not a bug: =E2=80=98guix system reconfigure=E2=80=99 does no= t restart already running services, simply because it cannot tell whether now is a good time to restart them. It=E2=80=99s a decision that=E2=80=99s left to the s= ystem administrator. However, note that =E2=80=98guix system reconfigure=E2=80=99 loads =E2=80= =9Creplacements=E2=80=9D for each Shepherd service, such that next time you run =E2=80=98herd restart FO= O=E2=80=99, you spawn that new version of FOO. Does that make sense? Thanks, Ludo=E2=80=99.