summaryrefslogtreecommitdiff
path: root/guix/fixed-fcgiwrap.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/fixed-fcgiwrap.scm')
-rw-r--r--guix/fixed-fcgiwrap.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/guix/fixed-fcgiwrap.scm b/guix/fixed-fcgiwrap.scm
index b7d778c..aca7553 100644
--- a/guix/fixed-fcgiwrap.scm
+++ b/guix/fixed-fcgiwrap.scm
@@ -30,6 +30,8 @@
(default "fcgiwrap"))
(group fcgiwrap-configuration-group
(default "fcgiwrap"))
+ (group log-file
+ (default #f))
;; boolean or octal mode integer
(adjusted-socket-permissions fcgiwrap-adjusted-socket-permissions?
(default #f))
@@ -80,7 +82,7 @@
(define fcgiwrap-shepherd-service
(match-lambda
- (($ <fcgiwrap-configuration> package socket user group perm ensure-dir?)
+ (($ <fcgiwrap-configuration> package socket user group log-file perm ensure-dir?)
(define parsed-socket (parse-fcgiwrap-socket socket))
(list
(shepherd-service
@@ -121,7 +123,9 @@
(make-forkexec-constructor
'(#$(file-append package "/sbin/fcgiwrap")
"-s" #$socket)
- #:user #$user #:group #$group))
+ #:user #$user
+ #:group #$group
+ #:log-file #$log-file))
(match '#$parsed-socket
(('unix path)
;; Clean up socket, otherwise fcgiwrap might not start properly.