guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: services: web: Have fcgiwrap log to a file.


From: guix-commits
Subject: 02/02: gnu: services: web: Have fcgiwrap log to a file.
Date: Thu, 1 Apr 2021 04:02:28 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit 264f7189e8fa20f4ab3da7f5e98fdd15d5eb4231
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Tue Mar 30 19:57:38 2021 +0100

    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.
---
 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 1aad695..bfcdfe7 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]