From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvkZn-0003La-Sl for guix-patches@gnu.org; Fri, 31 Aug 2018 10:39:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvkZi-0007Cm-VS for guix-patches@gnu.org; Fri, 31 Aug 2018 10:39:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35745) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fvkZi-0007CW-QU for guix-patches@gnu.org; Fri, 31 Aug 2018 10:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fvkZi-0005MR-NO for guix-patches@gnu.org; Fri, 31 Aug 2018 10:39:02 -0400 Subject: bug#32433: [PATCH] services: nginx: Get the Shepherd to respawn NGINX. Resent-To: guix-patches@gnu.org Resent-Message-ID: References: <20180813214750.714-1-clement@lassieur.org> From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur In-reply-to: <20180813214750.714-1-clement@lassieur.org> Date: Fri, 31 Aug 2018 16:38:27 +0200 Message-ID: <87y3cmlhy4.fsf@lassieur.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: 32433-done@debbugs.gnu.org Cl=C3=A9ment Lassieur writes: > * gnu/services/web.scm (nginx-shepherd-service): Change 'start' (that is,= all > actions that don't send a signal to the master process) to return the PID. > Wait until the PID file is created and contains an integer because it mig= ht be > created after the parent process exits. > --- > gnu/services/web.scm | 16 +++++++++++++++- > 1 file changed, 15 insertions(+), 1 deletion(-) Pushed!