From 80e4628c08dd7c9d25ee6d3556cf2f0c1233bd98 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 30 Mar 2021 19:57:38 +0100 Subject: 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(-) (limited to 'gnu') 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 @@ (define fcgiwrap-shepherd-service (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 -- cgit v1.2.3