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.
This commit is contained in:
Christopher Baines 2021-03-30 19:57:38 +01:00
parent 190912cb8e
commit 264f7189e8
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 2 additions and 1 deletions

View File

@ -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