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 cGgwFe/BTWMd/wAAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 22:58:23 +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 yJNXFe/BTWOfIwEAauVa8A (envelope-from ) for ; Mon, 17 Oct 2022 22:58:23 +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 E83D12BED6 for ; Mon, 17 Oct 2022 22:58:22 +0200 (CEST) Received: from localhost ([::1]:37956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okXBl-0008Pc-5P for larch@yhetil.org; Mon, 17 Oct 2022 16:58:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okXBS-0008Ms-JY for guix-patches@gnu.org; Mon, 17 Oct 2022 16:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51152) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okXBS-0000S9-BT for guix-patches@gnu.org; Mon, 17 Oct 2022 16:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okXBR-0000Fx-Vg for guix-patches@gnu.org; Mon, 17 Oct 2022 16:58:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58589] [PATCH 2/2] services: nginx: Improve reload action documentation. Resent-From: EuAndreh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Oct 2022 20:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58589 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58589@debbugs.gnu.org Cc: EuAndreh X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1666040265948 (code B ref -1); Mon, 17 Oct 2022 20:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Oct 2022 20:57:45 +0000 Received: from localhost ([127.0.0.1]:50227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okXBA-0000FD-KR for submit@debbugs.gnu.org; Mon, 17 Oct 2022 16:57:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:54840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okXB9-0000F6-K2 for submit@debbugs.gnu.org; Mon, 17 Oct 2022 16:57:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okXB9-00087C-Dm for guix-patches@gnu.org; Mon, 17 Oct 2022 16:57:43 -0400 Received: from box.euandre.org ([46.101.160.115]:54241) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okXB6-0000Ir-Fm for guix-patches@gnu.org; Mon, 17 Oct 2022 16:57:43 -0400 Received: from authenticated-user (box.euandre.org [46.101.160.115]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.euandre.org (Postfix) with ESMTPSA id 80262FC4D6; Mon, 17 Oct 2022 17:57:37 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail; t=1666040258; bh=LsknjL4P3RWujnvy7m6kqw0jWEBvesGfuAdHAn/0AGE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ts7uYWX+YL3hXwMi9xhHVsvkV3+pXfv9jKXA8NjraNuLUulu8UGJ/a0BJwI3ufAVY kIqIQX4pqoMJY+/du9Jt7K/kL4JFCc3F85S9rd/+11U8/4dp+ejLJR4WIIb2CJcfRR htzh78ElMTJ1CoSmmM5UibfDx1mOfu1/UhCqanbJuuwgGivJZ5HOEaFE3nJjAxBORs NGbeE6GaGe+WUTBZuV+XAqZ+RHc3mfvCkMC/O4X6R+77kZFdqHMCPJ8VQZUEzlVesr DCf7OKUShSHvoZyKXMNKVEHohHLFjJj9oaNABFSynEgQvq7baHUw4oAfcVELCpmM2j XdmAseg+genFQ== Date: Mon, 17 Oct 2022 17:57:19 -0300 Message-Id: <20221017205719.5704-3-eu@euandre.org> In-Reply-To: <20221017205719.5704-1-eu@euandre.org> References: <20221017205719.5704-1-eu@euandre.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=46.101.160.115; envelope-from=eu@euandre.org; helo=box.euandre.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: EuAndreh X-ACL-Warn: , EuAndreh via Guix-patches From: EuAndreh via Guix-patches via 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=1666040303; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=bkiFv7ilAUt9PVVGjAYg/TrEfefXl8I+TENsYANjaBA=; b=dUFAJ73nJvMNVX12nyu8G9eMl4qMKmpsQCzB00UQL0Fwu2cUjbirNcCKW+xwhWcmVXyDu4 IUnNvK8EM4t3cK286ec0c+5r65mFMYzL+QgCM3kS79AX4JWJQMwGaReglO4kU71IRnltQZ 8I0FRVPvxgAM0rjBflnV0Jsp8p7L0fGHXCamcnyxz/vAcqAlcuqgl7wGFXrEJvnfpG7PzX lXQl0Nr27qQgFNnKJfNrTqneuJZNK2Dl5OrQr5bZL3uFzCOzvrbct2gZAdKmOC1taVb/oQ oncIgR3BwBfW9MVxlpPtbmmDDJ637l0f7T2NMYep4cXwGpxtD1rvyxA1EL0Y5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666040303; a=rsa-sha256; cv=none; b=roSHlWoIIqh2anpSwLy2/yiYPhv4o8xDo0U1+oaO8/wpCJ0Mkl48u54ZpoNG/lXnUDHup8 S4USmwpPZQiOkhGgEeqs11huLxnCP8Zc4drx1W5URMOAEGHe4uCMbL16K+otAWfUMMHS98 aQ1eEx3YyFcIoiEmsralLSB+9vldSYP3ZaAwCLSMPpAXSLnJUFac3R1YlKNnJIEtTI23C+ 5xrSrdouBumxjzvf2vwtfswXZyczpvR3yepc+JooC/i6yb/TtktQQtbhT0urQ4T/M0ndat eTRz1ALUxJpE7BZN4PKMH/twbN9Q07caKp1BrF/gEhlAjKxELgoeVe5t4kWmEw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=euandre.org header.s=mail header.b=Ts7uYWX+; 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: -2.52 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=euandre.org header.s=mail header.b=Ts7uYWX+; 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: E83D12BED6 X-Spam-Score: -2.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: aNU77Sv2U7l6 * gnu/services/web.scm (nginx-shepherd-service): Be explicit about the reload action not changing the configuration file, but instead respawning worker processes. --- gnu/services/web.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/services/web.scm b/gnu/services/web.scm index 7fde8824b3..2023119037 100644 --- a/gnu/services/web.scm +++ b/gnu/services/web.scm @@ -819,7 +819,11 @@ (define (nginx-shepherd-service config) (list (shepherd-action (name 'reload) - (documentation "Reload NGINX configuration file and restart worker processes.") + (documentation "Reload nginx configuration file and restart worker processes. +This has the effect of killing old worker processes and starting new ones, using +the same configuration file. It is useful for situations where the same nginx +configuration file can point to different things after a reload, such as +renewed TLS certificates, or @code{include}d files.") (procedure (nginx-action "-s" "reload")))))))))) (define nginx-service-type -- 2.38.0