From 0badcd455a143736e0528d04dd5dab47e678ad85 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 7 Jun 2024 00:38:55 +0100 Subject: fcgiwrap: Redirect stderr of CGI script to web server log. * guix/forge/fcgiwrap.scm (fcgiwrap-shepherd-services): Add the -f flag. --- guix/forge/fcgiwrap.scm | 5 +++-- 1 file 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 +;;; Copyright © 2023, 2024 Arun Isaac ;;; ;;; 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 -- cgit v1.2.3