aboutsummaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorArun Isaac2024-06-07 00:38:55 +0100
committerArun Isaac2024-06-07 00:39:37 +0100
commit0badcd455a143736e0528d04dd5dab47e678ad85 (patch)
treef3ccd7fb78f2d333c71254f0e928a2e2d8b56cd5 /guix
parent37443f2cb69c3c42456071dac90defeab39510fe (diff)
downloadguix-forge-0badcd455a143736e0528d04dd5dab47e678ad85.tar.gz
guix-forge-0badcd455a143736e0528d04dd5dab47e678ad85.tar.lz
guix-forge-0badcd455a143736e0528d04dd5dab47e678ad85.zip
fcgiwrap: Redirect stderr of CGI script to web server log.
* guix/forge/fcgiwrap.scm (fcgiwrap-shepherd-services): Add the -f flag.
Diffstat (limited to 'guix')
-rw-r--r--guix/forge/fcgiwrap.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/guix/forge/fcgiwrap.scm b/guix/forge/fcgiwrap.scm
index f699480..f320223 100644
--- a/guix/forge/fcgiwrap.scm
+++ b/guix/forge/fcgiwrap.scm
@@ -1,5 +1,5 @@
;;; guix-forge --- Guix software forge meta-service
-;;; Copyright © 2023 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2023, 2024 Arun Isaac <arunisaac@systemreboot.net>
;;;
;;; This file is part of guix-forge.
;;;
@@ -137,7 +137,8 @@
;; https://yhetil.org/guix/m1ilknoi5r.fsf@fastmail.net/
#:namespaces (delq 'net %namespaces))
"-s" #$(socket->fcgiwrap-socket-url socket)
- "-c" #$(number->string processes))
+ "-c" #$(number->string processes)
+ "-f")
#:user #$user
#:group #$group
#:environment-variables