all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: 47504@debbugs.gnu.org
Subject: [bug#47504] [PATCH 2/2] gnu: services: web: Have fcgiwrap log to a file.
Date: Tue, 30 Mar 2021 22:34:37 +0100	[thread overview]
Message-ID: <20210330213437.23503-2-mail@cbaines.net> (raw)
In-Reply-To: <20210330213437.23503-1-mail@cbaines.net>

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





  reply	other threads:[~2021-03-30 21:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-30 21:29 [bug#47504] [PATCH 0/2] Have fcgiwrap log to a file Christopher Baines
2021-03-30 21:34 ` [bug#47504] [PATCH 1/2] gnu: services: web: Cleanup whitespace Christopher Baines
2021-03-30 21:34   ` Christopher Baines [this message]
2021-03-31 14:34 ` [bug#47504] [PATCH 0/2] Have fcgiwrap log to a file Efraim Flashner
2021-04-01  8:14   ` bug#47504: " Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210330213437.23503-2-mail@cbaines.net \
    --to=mail@cbaines.net \
    --cc=47504@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.