From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eJOROsSZY2CFAgEAgWs5BA (envelope-from ) for ; Tue, 30 Mar 2021 23:36:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +IJaNMSZY2DkawAA1q6Kng (envelope-from ) for ; Tue, 30 Mar 2021 21:36:04 +0000 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 695C0143E8 for ; Tue, 30 Mar 2021 23:36:04 +0200 (CEST) Received: from localhost ([::1]:56310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRM1r-0005F8-5P for larch@yhetil.org; Tue, 30 Mar 2021 17:36:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRM0s-0004iu-RM for guix-patches@gnu.org; Tue, 30 Mar 2021 17:35:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41445) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRM0s-0001OJ-IP for guix-patches@gnu.org; Tue, 30 Mar 2021 17:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRM0s-000623-Cd for guix-patches@gnu.org; Tue, 30 Mar 2021 17:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47504] [PATCH 2/2] gnu: services: web: Have fcgiwrap log to a file. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 30 Mar 2021 21:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47504 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47504@debbugs.gnu.org Received: via spool by 47504-submit@debbugs.gnu.org id=B47504.161714008223149 (code B ref 47504); Tue, 30 Mar 2021 21:35:02 +0000 Received: (at 47504) by debbugs.gnu.org; 30 Mar 2021 21:34:42 +0000 Received: from localhost ([127.0.0.1]:52987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRM0X-00061J-N6 for submit@debbugs.gnu.org; Tue, 30 Mar 2021 17:34:41 -0400 Received: from mira.cbaines.net ([212.71.252.8]:35916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRM0U-000613-AN for 47504@debbugs.gnu.org; Tue, 30 Mar 2021 17:34:39 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id 5D2B827BC66 for <47504@debbugs.gnu.org>; Tue, 30 Mar 2021 22:34:37 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 3dedee8d for <47504@debbugs.gnu.org>; Tue, 30 Mar 2021 21:34:37 +0000 (UTC) From: Christopher Baines Date: Tue, 30 Mar 2021 22:34:37 +0100 Message-Id: <20210330213437.23503-2-mail@cbaines.net> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210330213437.23503-1-mail@cbaines.net> References: <20210330213437.23503-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617140164; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=0mGP/u2NGuhClLMnzQ1aJvm47jlot6O8u5Mb7BNsMRA=; b=cdiPjepLeXUycDJzZcH31jpoADLR0pZSnsKWz3ZUxyeY8c/3VKQT6BSh6jBn7OvWF9+b1x gb7TlRPbSObDdon3z/szuOE8KrXQqEWW0p8np6nd46b9f8nbF8tjlRMCH3aXfnUCeM/7YE PPUTO1igJWHzeqDDmHWWjcAmMfoKZMTjecBr+LexWGNbxg27qhBB+JHlBl2EG1BY2qdcf2 QaWpsUuSWu8A+1LrK85R4GNAq37cbuC4iWlqH55DGgtIUdP1jcMWRmhgQIN++inRVmj84s Oh/R9QY1fM73tJQqiRfoCl2e0Gbd8+W3uXN+/cn7Zj/1DRJa4lbk1/SdSULbTg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617140164; a=rsa-sha256; cv=none; b=lbUtkF3ozvoN4dxAM08Ix0zGnozSfQNJZ9LJwueEX7+3FiIHYaZWxk2/Sj5IFO9O+oI0D1 UOXTD66R7LjkLVxn2gVczNR15tDyRNTOc1UHQPAYuUMrNyu8aiLc3EMH0l0NNIN3O8rOFM 5S1LJudMgeuCXEe8DPrQxMnXUzVn8ExvHaxSl3xogBhCChqbBc4hfXx4DngYyrpZJWLzu2 /muDfyCzN8xpSg4HBrmu5L2GyLGNbO1oao97y3BWd+44UB8l/2MUNYglrr6JNvwsnoPnC0 jZ7eDtZoGQ2bQ24MldGa2wKzr2ZVF6dpB+LLEZA+9hmw2Vl60QnoMCyT9FqT2w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.58 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 695C0143E8 X-Spam-Score: 2.58 X-Migadu-Scanner: scn0.migadu.com X-TUID: V9na7l9QuhBl This makes it easier to access the output. * gnu/services/web.scm (fcgiwrap-shepherd-service): Pass #:log-file to make-forkexec-constructor. --- gnu/services/web.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/services/web.scm b/gnu/services/web.scm index 1aad695c8b..bfcdfe7421 100644 --- a/gnu/services/web.scm +++ b/gnu/services/web.scm @@ -841,7 +841,8 @@ of index files." (start #~(make-forkexec-constructor '(#$(file-append package "/sbin/fcgiwrap") "-s" #$socket) - #:user #$user #:group #$group)) + #:user #$user #:group #$group + #:log-file "/var/log/fcgiwrap.log")) (stop #~(make-kill-destructor))))))) (define fcgiwrap-activation -- 2.30.1