From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yDypKbhmRWMqXwAAbAwnHQ (envelope-from ) for ; Tue, 11 Oct 2022 14:51:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0FiyKbhmRWNgFgEAauVa8A (envelope-from ) for ; Tue, 11 Oct 2022 14:51:04 +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 848844023A for ; Tue, 11 Oct 2022 14:51:04 +0200 (CEST) Received: from localhost ([::1]:34826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiEit-0003Mw-99 for larch@yhetil.org; Tue, 11 Oct 2022 08:51:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiCtf-0006TI-6d for guix-patches@gnu.org; Tue, 11 Oct 2022 06:54:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52078) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiCte-0001Q4-SX for guix-patches@gnu.org; Tue, 11 Oct 2022 06:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiCte-0004zI-OT for guix-patches@gnu.org; Tue, 11 Oct 2022 06:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58405] [PATCH] services: nginx: Add reload action Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 11 Oct 2022 10:54: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 Received: via spool by 58405-submit@debbugs.gnu.org id=B58405.166548559419082 (code B ref 58405); Tue, 11 Oct 2022 10:54:02 +0000 Received: (at 58405) by debbugs.gnu.org; 11 Oct 2022 10:53:14 +0000 Received: from localhost ([127.0.0.1]:51149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiCss-0004xh-8k for submit@debbugs.gnu.org; Tue, 11 Oct 2022 06:53:14 -0400 Received: from mira.cbaines.net ([212.71.252.8]:41542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiCsq-0004xX-1Z for 58405@debbugs.gnu.org; Tue, 11 Oct 2022 06:53:12 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:fc93:27fb:8412:c8b7]) by mira.cbaines.net (Postfix) with ESMTPSA id 9C2F027BBE9; Tue, 11 Oct 2022 11:53:11 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 3e6bf79f; Tue, 11 Oct 2022 10:53:11 +0000 (UTC) References: <20221010043932.28384-1-eu@euandre.org> User-agent: mu4e 1.8.9; emacs 28.1 From: Christopher Baines Date: Tue, 11 Oct 2022 11:51:50 +0100 In-reply-to: <20221010043932.28384-1-eu@euandre.org> Message-ID: <87h70aaay0.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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=1665492664; 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: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; bh=dkSvPAJqDMC7BzxwKrebfV7odzIdFuaXAvSBDJQr/PA=; b=QGCoFE6dcxS9lkMGhBPvP7nDvek5UI+/WoS2tjnqBsEK4df3U1HGJ2Jnnyvz2caF0GAy6G e8vC0ahLqHPgk+MDeCmOj1S41RtT1X79DUf4Hau4hME6zEiLb8Cm4C+Zr6gVk0wkMXcelK f4zgJvgKGcwLfLMOFr3hj357KTFcPwZJebBM79diMAxgOoGZE8xIRsa9+HwosjhNVAoonK oRmyOU6Mh3IP/DOj1HIe1mCe00wGqU+L0vSmJf8IhqMPnrgLA1CZsBoBOOlUoaXDZztqDM sbL2uxe8YnRM8DSxxMDQT646XxbafspBPG8GokjDI4sh43xqkaR68YP4P1wOnQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665492664; a=rsa-sha256; cv=none; b=eHZlsfu0xaEG0ZILvCrpMl11YwEeqCf7UQ3jE/cWYwHBpyzrFwOW1CZ92cwPcWPpIMuML+ dDtOJHjDcY6LL7BzxQvztbrFM+52s1C+Vk4NDhJekMrjhgEsCv3QrHtbVQJXBa3GEbWTux V7UyeVX6hmz2Y0EIrUpOv9vVKEn1sIAGwCY2WEo0jVMhyGnrFZ03ra9xOjRiXdbV9izrpb pxPssNhQQy/Ru0xwefUsc/YLr5ne6ukV+E6FC1iW1Waxw9A3ZiEDFNH4CYJ8DP2ge2AgwH 5j9MrnFz6UMF1luSX4w/Bxxxvmf2iO/JikC01YtN6jQc6Y1uOFQ4LZxdGT30ag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -4.90 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 848844023A X-Spam-Score: -4.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: nMH5233iUh+7 --=-=-= Content-Type: text/plain EuAndreh via Guix-patches via writes: > In a new "reload" shepherd-action, send a SIGHUP to the NGINX master > process, so that it can re-read the configuration file and start new > worker processes. > > * gnu/services/web.scm (nginx-shepherd-service): Add the "reload" > shepherd-action > --- > gnu/services/web.scm | 15 +++++++++++++-- > 1 file changed, 13 insertions(+), 2 deletions(-) With the NGinx service currently, you need to restart it to change the NGinx binary or configuration file. What's the purpose of the reload action here given that neither the binary or configuration file being used will change? Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmNFSxdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdLPQ//UfzDl3d0jA0tHOjiVPlzXQ+52p/Segu4 SwQWEY4ClL1bramqZlAKNtkhFmVcCKKR+951bCu69VqIHONRpJCT/y1tUTZGARi7 F8koTFOrJY0hSEt0/z4tD/KMMtwaRL+aoIIYo2NKjfDKwz2UqZ50eSdOibqvBJza 2QTkTJ4Skbr3MdiqUesbZyDJVzWUciXHSiN9FAUThK2aIEQogh+xISz+ZTQRKsbO +goG6/dlpfAGQqRtuSKJqbV06mA7ajxkK6LzeGAfXCINIMtMof2JpAnV1F2apViQ 4c6/lpiczEOJ3r/dMYsO8U9bIAjzavH48BfDA9v0Dk9s3NhjJDlNfyDbjLsYzNkn q/FXxyWsxYtIMbEhN5xhG2VpT6wGlEN6EEeKI9WmBMB44eXHzsnxJGaeMpXB7YOb YxlFaFnUFDMWRFsstnABt9bEhYXF3nmwfv1jdt3xetSduCg5G1eJwexne9jV95ft yn+OTVvJwQz04JOeAB+SLijIWGYT1sxWlkNOdgQ74zKmPio580610v84UsmPFOrK sty3xAM0tpEVDbcmsnbR5PWXSlUwU+aYETqp/2kATaoyXYQ3z0OitVpTYQ9tG2GQ PV13Io2dCqa6dcQk1b+wwOcpErdqR25U8IqRaSIUe0LRpzl8ksg/uF/GMKNXlFJn g8saQ/aXyLs= =U4kc -----END PGP SIGNATURE----- --=-=-=--