From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleg Pykhalov Subject: bug#28776: guix system reconfigure does not update path to nginx configuration Date: Tue, 10 Oct 2017 13:58:46 +0300 Message-ID: <874lr7fevt.fsf@gmail.com> References: <8760bnmjhn.fsf@gmail.com> <87k2036zzz.fsf@lassieur.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:4830:134:3::10]:39903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1sGe-00027w-DK for bug-guix@gnu.org; Tue, 10 Oct 2017 07:00:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1sGY-0004L3-RC for bug-guix@gnu.org; Tue, 10 Oct 2017 07:00:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50609) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1sGY-0004Kp-NE for bug-guix@gnu.org; Tue, 10 Oct 2017 07:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e1sGY-0004Qm-Ac for bug-guix@gnu.org; Tue, 10 Oct 2017 07:00:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87k2036zzz.fsf@lassieur.org> ("=?UTF-8?Q?Cl=C3=A9ment?= Lassieur"'s message of "Tue, 10 Oct 2017 12:47:28 +0200") 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: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Cc: 28776@debbugs.gnu.org Hello Clement, Cl=C3=A9ment Lassieur writes: > Oleg Pykhalov writes: > >> After changing config.scm, herd restarts NGINX with previous (on boot) >> configuration (checked with ps). So to apply a new NGINX configuration >> to a system, reboot is required. > > Quoting Ludovic from: > https://lists.gnu.org/archive/html/guix-patches/2017-05/msg00669.html > > Currently =E2=80=98guix system reconfigure=E2=80=99 (specifically > =E2=80=98upgrade-shepherd-services=E2=80=99) reloads and starts all servi= ces that are > currently stopped, on the grounds that it would not be safe/desirable to > simply stop any running service. > > So if you want NGINX to start with its new configuration, you need to > stop it before doing the 'guix system reconfigure'. Thank you for giving a direction! I actually tried to make 'sudo herd restart nginx' after reconfigure, but apparently it's wrong. I'm not sure if we need to close this bug. It wasn't obvious to me that it related to subject =E2=80=9CAllow services to implement a 'reloa= d' action=E2=80=9D, because I tried to reload it manually :-)