From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wJGWK16VjmZ5QwEAe85BDQ:P1 (envelope-from ) for ; Wed, 10 Jul 2024 14:06:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id wJGWK16VjmZ5QwEAe85BDQ (envelope-from ) for ; Wed, 10 Jul 2024 16:06:22 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=kcxD5JX2; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720620382; 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-to: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=8nA0HM334cDUPIXo0DWQJ8Ua8zPyeeH+9AHD44QXhoE=; b=chTi8zpYoOtEr7EkC9GIP5DfkRAwSPJ0rMgP7abvf+RXoP8SBoh02rX3zt0LCHQkRzRgKw 1HYRYvKTRXVDN/3M1rnLFtIuuegDhG6qDr400jib4Ay0kqc5zX7mCt0oMoug5Nc7nbKGfY NOG9cW6Z/9W26Bblf0UQtlfQmbuLZORSvBhtYBRFHNLsQRHuh+fUziQg/6iFEe8wyffQwh CFgWiXofuByZNVP4idAyKQJPX/BCD7lJkuW/zRwkIF1oc1/GQTHDSWRSPxwqM6SOjJi4VC meG4UdNQJ2O4FSzS6B2KiFzzZmLcRndDqryeisuN1TJ0vPSHOqVjHs1BShoGVA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720620382; a=rsa-sha256; cv=none; b=u7SQHH/rzEQwq6bfmX0px8Wq8abN78ple+kjiWG+QnOFuLiugpCaPpia6fo2bNyaHfcd9K M5S0SmZZr71lTHjrFWr0ZGDTR0SYEaouXIjHaaoj/g1ldDXtbS9gYSH2rNAZnLBsNXG8ox xeZ4kkMgfzNCrCEHjJ1sN6u/vafu2PSKrM5SELkHtIGXK3LXNEYkuVuaTrLJb290TxaLUx mTp7Th+v/Anfx9Nn/VgQr9XvG3NqFCgalbkWsoW0KiUg2KaoWBz3XEExJTptJK6eZzcFRt aB/951pMKIRD9XXtahk+VrZ+Kldpf1RoMNdecLQ0+tbu8mQCbdHK7aOyJXn7EA== 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=kcxD5JX2; 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" 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 8D69C6441B for ; Wed, 10 Jul 2024 16:06:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRXxI-00028d-2F; Wed, 10 Jul 2024 10:06:00 -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 1sRXxH-00028K-3G for guix-patches@gnu.org; Wed, 10 Jul 2024 10:05:59 -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 1sRXxE-00026O-10 for guix-patches@gnu.org; Wed, 10 Jul 2024 10:05:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sRXxK-0003jA-5T for guix-patches@gnu.org; Wed, 10 Jul 2024 10:06:02 -0400 Subject: bug#71949: [PATCH] services: web: Pass run-directory to nginx's actions. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Wed, 10 Jul 2024 14:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 71949 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tomas Volf <~@wolfsden.cz> Cc: 71949-done@debbugs.gnu.org Mail-Followup-To: 71949@debbugs.gnu.org, ludo@gnu.org, ~@wolfsden.cz Received: via spool by 71949-done@debbugs.gnu.org id=D71949.172062035114308 (code D ref 71949); Wed, 10 Jul 2024 14:06:01 +0000 Received: (at 71949-done) by debbugs.gnu.org; 10 Jul 2024 14:05:51 +0000 Received: from localhost ([127.0.0.1]:56841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRXx8-0003ih-UA for submit@debbugs.gnu.org; Wed, 10 Jul 2024 10:05:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRXx6-0003iT-LN for 71949-done@debbugs.gnu.org; Wed, 10 Jul 2024 10:05:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRXwu-00024w-D0; Wed, 10 Jul 2024 10:05:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=8nA0HM334cDUPIXo0DWQJ8Ua8zPyeeH+9AHD44QXhoE=; b=kcxD5JX2xGyougnBmXl+ kpBA1F+jhouBUtyUt805R8pr0E3u00fQOlpsaZynJ4UyrtXvg6sNYjT+zib52Oq7Q3SYMWMG9gMwF CkyPZ0DQLCSTvy18rQqIMVQXo1j61HXJrXVWp3RGL++ZGhQRlijehojtBrFxJmLpg7karf8w0m6Ok wQBrzdnV5S8ixf0wKd66F0T5/6jLVqSOAYei82gpXSf65P167VULzAEJfTbds2cGle3ZnQPlse9YZ cSPygJGe1GoAFDCHkciR+YbiEc4R3BHm0KBAmKrvylFuk4bbqn/ytOCUQk/L7rgXZSU09bFt/6R8Q p+v2PLHnVseTwQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <063981d97d79af7abec66592d40c6beff9adea46.1720191680.git.~@wolfsden.cz> (Tomas Volf's message of "Fri, 5 Jul 2024 17:01:20 +0200") References: <063981d97d79af7abec66592d40c6beff9adea46.1720191680.git.~@wolfsden.cz> Date: Wed, 10 Jul 2024 16:05:19 +0200 Message-ID: <87sewh5om8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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-Spam-Score: -4.30 X-Spam-Score: -4.30 X-Migadu-Queue-Id: 8D69C6441B X-Migadu-Scanner: mx11.migadu.com X-TUID: gCC9o5QkYDAC Tomas Volf <~@wolfsden.cz> skribis: > Reloading nginx lead to (harmless, yet annoying) alert being logged: > > nginx: [alert] could not open error log file: open() "/gnu/store/9l2lznlqpjcm79znq1xas378maqgysc8-nginx-1.27.0/logs/error.log" failed (2: No such file or directory) > > Since there already is prepared runtime directory for nginx, all that was > missing was to also pass it to the reload and reopen invocations. > > * gnu/services/web.scm (nginx-shepherd-service)[reload, reopen]: Pass -p flag > with run-directory as value. > > Change-Id: Id5c558d65def8c1fe5cf581a4a370508ac05e550 Applied, thanks!