summary refs log tree commit diff
path: root/gnu/services/web.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2021-03-30 19:57:38 +0100
committerChristopher Baines <mail@cbaines.net>2021-04-01 09:01:52 +0100
commit264f7189e8fa20f4ab3da7f5e98fdd15d5eb4231 (patch)
tree230272dbe2786a56d00d94a5ec73a9c43e7bf303 /gnu/services/web.scm
parent190912cb8e4011c7a4ffe6c2baa69d7b39139580 (diff)
downloadguix-264f7189e8fa20f4ab3da7f5e98fdd15d5eb4231.tar.gz
gnu: services: web: Have fcgiwrap log to a file.
This makes it easier to access the output.

* gnu/services/web.scm (fcgiwrap-shepherd-service): Pass #:log-file to
make-forkexec-constructor.
Diffstat (limited to 'gnu/services/web.scm')
-rw-r--r--gnu/services/web.scm3
1 files changed, 2 insertions, 1 deletions
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