mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
services: cuirass: Add log-file support.
* gnu/services/cuirass.scm (cuirass-remote-worker-shepherd-service): Add log-file support. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
parent
eb9adede34
commit
eff80711f3
1 changed files with 3 additions and 2 deletions
|
@ -306,7 +306,7 @@ (define (cuirass-remote-worker-shepherd-service config)
|
||||||
"Return a <shepherd-service> for the Cuirass remote worker service with
|
"Return a <shepherd-service> for the Cuirass remote worker service with
|
||||||
CONFIG."
|
CONFIG."
|
||||||
(match-record config <cuirass-remote-worker-configuration>
|
(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
|
(list (shepherd-service
|
||||||
(documentation "Run Cuirass remote build worker.")
|
(documentation "Run Cuirass remote build worker.")
|
||||||
(provision '(cuirass-remote-worker))
|
(provision '(cuirass-remote-worker))
|
||||||
|
@ -334,7 +334,8 @@ (define (cuirass-remote-worker-shepherd-service config)
|
||||||
(list
|
(list
|
||||||
(string-append "--private-key="
|
(string-append "--private-key="
|
||||||
private-key))
|
private-key))
|
||||||
'()))))
|
'()))
|
||||||
|
#:log-file #$log-file))
|
||||||
(stop #~(make-kill-destructor))))))
|
(stop #~(make-kill-destructor))))))
|
||||||
|
|
||||||
(define cuirass-remote-worker-service-type
|
(define cuirass-remote-worker-service-type
|
||||||
|
|
Loading…
Reference in a new issue