From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1erKwa-0005kw-0M for guix-patches@gnu.org; Thu, 01 Mar 2018 04:56:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1erKwU-0004a7-8l for guix-patches@gnu.org; Thu, 01 Mar 2018 04:56:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:58563) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1erKwU-0004Zq-46 for guix-patches@gnu.org; Thu, 01 Mar 2018 04:56:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1erKwT-0007Nk-OV for guix-patches@gnu.org; Thu, 01 Mar 2018 04:56:01 -0500 Subject: [bug#30532] [PATCH] Shepherd: Terminate all services upon SIGTERM or SIGHUP Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87sh9wnbu6.fsf@zancanaro.id.au> <87lgfe4vft.fsf@gnu.org> <87a7vu9l4h.fsf@zancanaro.id.au> Date: Thu, 01 Mar 2018 10:55:49 +0100 In-Reply-To: <87a7vu9l4h.fsf@zancanaro.id.au> (Carlo Zancanaro's message of "Wed, 28 Feb 2018 08:29:50 +1100") Message-ID: <878tbc86hm.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Carlo Zancanaro Cc: 30532@debbugs.gnu.org Carlo Zancanaro skribis: > From 717456edd92ba753daf5dd40e2f8d51eab3e7a73 Mon Sep 17 00:00:00 2001 > From: Carlo Zancanaro > Date: Tue, 20 Feb 2018 02:52:47 +1100 > Subject: [PATCH] Terminate all services upon SIGTERM or SIGHUP > > * modules/shepherd.scm (main): Add SIGTERM and SIGHUP handlers which stop > root-service. > * tests/sigint.sh: Rename to... > * tests/signals.sh: ... this, and add tests for SIGTERM and SIGUP. Perfect. Applied, thanks! Ludo=E2=80=99.