From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cGg1KesbSGOhYAAAbAwnHQ (envelope-from ) for ; Thu, 13 Oct 2022 16:08:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4PA3KesbSGPlTQEAauVa8A (envelope-from ) for ; Thu, 13 Oct 2022 16:08:43 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5D5782C924 for ; Thu, 13 Oct 2022 16:08:02 +0200 (CEST) Received: from localhost ([::1]:49726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiysQ-000146-Mp for larch@yhetil.org; Thu, 13 Oct 2022 10:07:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35120) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiynh-0005FE-EN for guix-patches@gnu.org; Thu, 13 Oct 2022 10:03:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35298) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiyne-0004D6-Ix for guix-patches@gnu.org; Thu, 13 Oct 2022 10:03:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiyne-0000Cv-EC for guix-patches@gnu.org; Thu, 13 Oct 2022 10:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58405] [PATCH] services: nginx: Add reload action Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Oct 2022 14:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58405 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: EuAndreh Cc: 58405@debbugs.gnu.org, Christopher Baines Received: via spool by 58405-submit@debbugs.gnu.org id=B58405.1665669734726 (code B ref 58405); Thu, 13 Oct 2022 14:03:02 +0000 Received: (at 58405) by debbugs.gnu.org; 13 Oct 2022 14:02:14 +0000 Received: from localhost ([127.0.0.1]:34376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiyms-0000Be-Fp for submit@debbugs.gnu.org; Thu, 13 Oct 2022 10:02:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiymq-0000BG-9e for 58405@debbugs.gnu.org; Thu, 13 Oct 2022 10:02:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33122) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiymk-00048d-5b; Thu, 13 Oct 2022 10:02:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=tf+Y5wIymf0XRtUwpT8ydCvChoh6mSE1mkPeukfe4Ew=; b=maYgqgvwCcsCnQ4fzD85 8p/Ar0qmXLqHJRIYDoY54L9ACNE5hCw0rF2orLCtNg7Tfa7zIuASm9h/60okx3GXgHGCMVqFpGdad NMCvS0YMvHzHXNEil015Gl7sUw8jTFu8bM0h+lJVkoLmwsQyo1vqMbf69kmy6mVIDhePE8xkl7AX8 5mSAIOykj5Ip5EVXpRuZrQkrK1GIy/mNo/C5YK4QMR2JiNDOrMvHJzj+awNesN95M069jLnE7XIuh 72Ixbqw1ASKWIDEWQSLPWjmZSq+S7PtlB6+EucKljI0iCUTz/+vbwbZbENHtRV2IsudHZs/Tqadke ezwzx1WFg9BDeg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:51338 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiymj-0005rg-Od; Thu, 13 Oct 2022 10:02:05 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20221010043932.28384-1-eu@euandre.org> Date: Thu, 13 Oct 2022 16:02:03 +0200 In-Reply-To: <20221010043932.28384-1-eu@euandre.org> (EuAndreh's message of "Mon, 10 Oct 2022 01:39:32 -0300") Message-ID: <87v8onq0tg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665670082; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tf+Y5wIymf0XRtUwpT8ydCvChoh6mSE1mkPeukfe4Ew=; b=KV8oD+WRB/slDVHmhZd/+dzgXh4N+5sTQ1mJkpIQlgKMWNwHNK5HYwLJXA+x/1gNMpx+TH Wix3mVN9Rp5FHgF0T/7Kt8jN73oKRtpaUHATXhXnGCd89xIUvJg8YNBNey5RXjHG+cjPFF N1BV5/jAHOMf46SGR8oBx+F/LRdkUthSw3pDbeTlYUP+iBOVSPyNU3E6u1lZ76PENYVYcm e1JDTqAmUCiMAVUs8SlJ9PqEaZE9fuwMxsScDVehSeCq5po2RpCo1DuhnnWeIgpKWu0QBv pNy9f3zuQX85agQUl2LywPVUPRP50ZQ0F5BDNAar6vu97NNOdPJPTlPpiHox6A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665670082; a=rsa-sha256; cv=none; b=t41wJlAD7SBwmH2ChBymZeKnrN5D60/sgRryCvBx3CaqWT9Qmv4IfifR3zZT/FcPlECWor VKMHIZAGxqy0jKOSC4/Zd9q8CuPtM16AbfkRfBX5AyrwmHoSm6tgGugDZGug+3kJEOU85J HThIkSrTv7iL/zS5Lhh0HM12rYz05NkFAeC24Eo/8rGsPTAnXyw7x3CcQRLkvjm3HMWa1k jv1n2gEmCfM1U1+PFxXzb7SBlBeMfWqHdYXq42Uaje8H3h4xUEeObosZKQKa6SSbofaZW/ Hp9RnpNZLWp/keTOfUx5KHZUAoruisXRoEt9Kbxkk+ICuoVRNaTA3SPdGLardQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=maYgqgvw; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=maYgqgvw; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5D5782C924 X-Spam-Score: -3.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: huS8H1m322TF Hi, A late comment=E2=80=A6 EuAndreh skribis: > + (shepherd-action > + (name 'reload) > + (documentation "Reload NGINX configuration file and res= tart worker processes.") > + (procedure > + #~(lambda (pid) > + (if pid > + (begin > + (kill pid SIGHUP) Isn=E2=80=99t =E2=80=98nginx -s reload=E2=80=99 the documented way to do th= at? Or maybe it=E2=80=99s completely equivalent? > + (format #t "Service NGINX (PID ~a) has been r= eloaded." pid)) > + (format #t "Service NGINX is not running.")))))= ))))))) Nitpick: According to it seems that the correct spelling is =E2=80=9Cnginx=E2=80=9D, lowercase. :-) Thanks, Ludo=E2=80=99.