From patchwork Mon Oct 17 21:55:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: EuAndreh X-Patchwork-Id: 43491 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9633F27BBEA; Mon, 17 Oct 2022 22:56:37 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5931A27BBE9 for ; Mon, 17 Oct 2022 22:56:37 +0100 (BST) Received: from localhost ([::1]:41026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okY68-0006NE-He for patchwork@mira.cbaines.net; Mon, 17 Oct 2022 17:56:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okY5c-0006Ms-0J for guix-patches@gnu.org; Mon, 17 Oct 2022 17:56:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51283) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okY5a-0001Gq-Ec for guix-patches@gnu.org; Mon, 17 Oct 2022 17:56:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okY5a-00046D-2U for guix-patches@gnu.org; Mon, 17 Oct 2022 17:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58590] [PATCH] 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 21:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58590 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58590@debbugs.gnu.org Cc: EuAndreh Received: via spool by 58590-submit@debbugs.gnu.org id=B58590.166604371415689 (code B ref 58590); Mon, 17 Oct 2022 21:56:02 +0000 Received: (at 58590) by debbugs.gnu.org; 17 Oct 2022 21:55:14 +0000 Received: from localhost ([127.0.0.1]:50361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okY4o-00044z-Iw for submit@debbugs.gnu.org; Mon, 17 Oct 2022 17:55:14 -0400 Received: from box.euandre.org ([46.101.160.115]:34073) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okY4n-00044j-AC for 58590@debbugs.gnu.org; Mon, 17 Oct 2022 17:55:13 -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 AFFEDFC4B2; Mon, 17 Oct 2022 18:55:05 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail; t=1666043707; bh=LsknjL4P3RWujnvy7m6kqw0jWEBvesGfuAdHAn/0AGE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=O3KCiteawhRbU60LCv5iJfFVTNafqfuWYRTKP5Jsa0E0DFF39XiAybK93M2CLRMuI OZBwCebx+uhzlUDWnXHhzyebUh36JWoqrKAU4r3POHF1V2DEbg/hcPzLoDzTtYzi/7 Bzdtwykan8Dil2TLBpOLMlpoB8HVI2hnCEkyb6v5/vXxiZukmfnsbRuZPi+5w+NGsv ZRlZzV8r8kVouzH1Y+ezem4E7GPmiXIefJklbzNwgptoR8VtuDrJyD3Aq9MgRdrNmO u7wLNm5+zMmLh6ytTUBJ0HdAocJYkV21ViNH8RYfvDw53shJ0zcz+hAbvdYp17k5Ps +oeo80IC0f9gA== Date: Mon, 17 Oct 2022 18:55:00 -0300 Message-Id: <20221017215500.11024-1-eu@euandre.org> In-Reply-To: <58590@debbugs.gnu.org> References: <58590@debbugs.gnu.org> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: EuAndreh X-ACL-Warn: , EuAndreh via Guix-patches X-Patchwork-Original-From: EuAndreh via Guix-patches via From: EuAndreh X-getmail-retrieved-from-mailbox: Patches * 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