services: cuirass: Add log-file support.
authorMathieu Othacehe <othacehe@gnu.org>
Thu, 28 Jan 2021 14:53:03 +0000 (15:53 +0100)
committerMathieu Othacehe <othacehe@gnu.org>
Thu, 28 Jan 2021 14:53:03 +0000 (15:53 +0100)
* gnu/services/cuirass.scm (cuirass-remote-worker-shepherd-service): Add
log-file support.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
gnu/services/cuirass.scm

index f771132..8af19ca 100644 (file)
   "Return a <shepherd-service> for the Cuirass remote worker service with
 CONFIG."
   (match-record config <cuirass-remote-worker-configuration>
-    (cuirass workers systems publish-port public-key private-key)
+    (cuirass workers systems log-file publish-port public-key private-key)
     (list (shepherd-service
            (documentation "Run Cuirass remote build worker.")
            (provision '(cuirass-remote-worker))
@@ -334,7 +334,8 @@ CONFIG."
                                   (list
                                    (string-append "--private-key="
                                                   private-key))
-                                  '()))))
+                                  '()))
+                    #:log-file #$log-file))
            (stop #~(make-kill-destructor))))))
 
 (define cuirass-remote-worker-service-type