From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AK6yHAoLiGZyLgAA62LTzQ:P1 (envelope-from ) for ; Fri, 05 Jul 2024 15:02:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id AK6yHAoLiGZyLgAA62LTzQ (envelope-from ) for ; Fri, 05 Jul 2024 17:02:34 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=r2NoMvJu; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=r2NoMvJu; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wolfsden.cz (policy=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720191754; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=tBDucb792N2Rc6XZ7c1jTkx/rfMo7Kn3qCd63JrPq+4=; b=TDh2/djKwyydU6ZFgD76RdDTFb7cw6wSfTJkX1tAxPKGQKRDqtzPTnHPDwsBwUlBNZDlA4 JLuhDl20KDil5D8M+fh/SU2mNvDmtJktXYSwoZnMdwPStAJ0vjtAECUB8DOLUOyRBJTOp5 m9p/N1+Hvtr6cHHP5ZraccCdZAV5P/tCIwYvw3jrM0Nr/3UrESwf6AEw7Sfqf6jgUFhL4v fcwfCdBND4GP3/ZpgAhTXkbzFqzY6TodGN63prEenIziewPBaL/ttL2U+172kSW3qFPMVk lzxHgKsV0SULSmxe0/tVjcOx4JU62YU6qPYInX6H+P/qRwiUCa+546RJHc2zKA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720191754; a=rsa-sha256; cv=none; b=Q4/8lFbLMUO8U4SZqWyFg2Av3/BvFo1aTuyKfsTvK/b1KviAAQvHofMv2/5AL1WQLZ1c4Z 4ZCHeNV31I4yDOEcSN2JaC7HbkwK89TE5J6KfbRh+aTmiXBW/Z4pg0Z66sNzytxZuhMoRb UimRNlwExYC3PKWj3QH1Ymc6f5njY/Tn5PgSIM7mRFn6hqKrdRxAcZ2ei2cN9aarhQLGZJ pDeoFFoEXG2JOtwd0i5m/ncr1+QDHJcJIKLGNiKTToWh2SdSzc8xNDNefiIt/29HwduRyW 7wDhOmGFdtqo9EtlKqTIpZVoZwpleoiHBU3NL3lXIpZOgGzSEAOtvKMdMVzwoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=r2NoMvJu; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=r2NoMvJu; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wolfsden.cz (policy=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" 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 5230C31584 for ; Fri, 5 Jul 2024 17:02:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPkRo-0001IS-9V; Fri, 05 Jul 2024 11:02:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sPkRk-0001Gw-Uw for guix-patches@gnu.org; Fri, 05 Jul 2024 11:02:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sPkRk-0000K2-Mp for guix-patches@gnu.org; Fri, 05 Jul 2024 11:02:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sPkRn-0001ah-EP for guix-patches@gnu.org; Fri, 05 Jul 2024 11:02:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71950] [PATCH] services: web: Return success from nginx-action. Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 05 Jul 2024 15:02:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71950 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71950@debbugs.gnu.org Cc: Tomas Volf <~@wolfsden.cz> X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17201917016070 (code B ref -1); Fri, 05 Jul 2024 15:02:03 +0000 Received: (at submit) by debbugs.gnu.org; 5 Jul 2024 15:01:41 +0000 Received: from localhost ([127.0.0.1]:44773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sPkRR-0001Zp-A7 for submit@debbugs.gnu.org; Fri, 05 Jul 2024 11:01:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:35560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1sPkRQ-0001Zj-Lx for submit@debbugs.gnu.org; Fri, 05 Jul 2024 11:01:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sPkRN-0001FG-CU for guix-patches@gnu.org; Fri, 05 Jul 2024 11:01:37 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sPkRL-0008Da-PM for guix-patches@gnu.org; Fri, 05 Jul 2024 11:01:37 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 6C6082B0BCD; Fri, 5 Jul 2024 15:01:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1720191693; bh=wqcz+Hg7bMjn+PNuF1+DXZQMozBb3XEZhptyQG7nZ+w=; h=From:To:Cc:Subject:Date; b=r2NoMvJuru9VyFc3+SV1WiLx1z7yugNmCY+2l491Zzt9R7eKbqipFjUcfVibTi98C yidOPvlStngE5L1UNSTQZBvEvmpHHhrTgZjIZR1XllAdLMYVZmx9ulgc+uiDHNsKkM LzSXHz9Rk6DVhcTdCNDk9BTwSfFH79/02td0xS6XDHImUNbQYzexDwuwpTPfGAWib7 VUPhdrHOBdi17ZV3hf6pFsqI+eEQOUDNvYU+DLSrqGzhPG6iND0wgZ98cq6yklK/rl m8JWesY2bDa0+jE5ArLhFw3Rj0cA034dPWzo0Vt5Sd/0f/GtvvuE3OemPE28ED7fhP v3EPuFNc0dXxMPgmxIFNzlawZoFhxVun2V8LxeGQweHtI5y3WDOcRMU/D6j4oTFwYD 2w9khe9ezht2zAcmBhNgCZL36BNdiyXJ4wfAQZD6/GDL5cIs+q6AeLdbDuXVqVFqGb iHkwuP3v2C+pEbIj6BbD0Vvg6HXdAj6keXUNb1asa0n3IfRqfBuhz2O2l5RUWdOSuW 7yECnmMJs/12RAc35JniW96bNP2ndXZvLF4J1NaHgiBqgi91c+21rIimzud8dmAtEk 0dkwUq5w/1Kjn5Wc/XKaHHvLurIWFsDBTs8UisoefIWmahGU6koo5xaV7mkM3SU1jo 7Wdp144A4gUVEDsYHStt7f+Y= Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 384482B087F; Fri, 5 Jul 2024 15:01:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1720191693; bh=wqcz+Hg7bMjn+PNuF1+DXZQMozBb3XEZhptyQG7nZ+w=; h=From:To:Cc:Subject:Date; b=r2NoMvJuru9VyFc3+SV1WiLx1z7yugNmCY+2l491Zzt9R7eKbqipFjUcfVibTi98C yidOPvlStngE5L1UNSTQZBvEvmpHHhrTgZjIZR1XllAdLMYVZmx9ulgc+uiDHNsKkM LzSXHz9Rk6DVhcTdCNDk9BTwSfFH79/02td0xS6XDHImUNbQYzexDwuwpTPfGAWib7 VUPhdrHOBdi17ZV3hf6pFsqI+eEQOUDNvYU+DLSrqGzhPG6iND0wgZ98cq6yklK/rl m8JWesY2bDa0+jE5ArLhFw3Rj0cA034dPWzo0Vt5Sd/0f/GtvvuE3OemPE28ED7fhP v3EPuFNc0dXxMPgmxIFNzlawZoFhxVun2V8LxeGQweHtI5y3WDOcRMU/D6j4oTFwYD 2w9khe9ezht2zAcmBhNgCZL36BNdiyXJ4wfAQZD6/GDL5cIs+q6AeLdbDuXVqVFqGb iHkwuP3v2C+pEbIj6BbD0Vvg6HXdAj6keXUNb1asa0n3IfRqfBuhz2O2l5RUWdOSuW 7yECnmMJs/12RAc35JniW96bNP2ndXZvLF4J1NaHgiBqgi91c+21rIimzud8dmAtEk 0dkwUq5w/1Kjn5Wc/XKaHHvLurIWFsDBTs8UisoefIWmahGU6koo5xaV7mkM3SU1jo 7Wdp144A4gUVEDsYHStt7f+Y= From: Tomas Volf <~@wolfsden.cz> Date: Fri, 5 Jul 2024 17:01:29 +0200 Message-ID: <400feb0255e86efee23f561e97bc53c6818c3bb0.1720191689.git.~@wolfsden.cz> X-Mailer: git-send-email 2.45.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 5230C31584 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -3.99 X-Spam-Score: -3.99 X-TUID: oRKQkEskcp/Z Previous value of #f lead to `head reload nginx' returning exit code 1, complicating usage from scripts (and other actions). Returning #t fixes that. Any actual failures are still covered by the invoke call above. * gnu/services/web.scm (nginx-shepherd-service)[nginx-action]<-s>: Return #t. Change-Id: I4ce1645798a85baddeb0f5bd702a2567db3c7aaa --- gnu/services/web.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/services/web.scm b/gnu/services/web.scm index b73cd30fe7..af4d6de658 100644 --- a/gnu/services/web.scm +++ b/gnu/services/web.scm @@ -831,7 +831,7 @@ (define (nginx-shepherd-service config) #~(lambda _ (invoke #$nginx-binary "-c" #$config-file #$@args) (match '#$args - (("-s" . _) #f) + (("-s" . _) #t) (_ ;; When FILE is true, we cannot be sure that PID-FILE will ;; be created, so assume it won't show up. When FILE is -- 2.45.1