mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
services: cuirass: Respawn ‘cuirass-web’ more slowly.
* gnu/services/cuirass.scm (cuirass-shepherd-service): Add ‘respawn-delay’ and ‘respawn-limit’ fields for ‘cuirass-web’. Change-Id: I38c65d3a13fb3abc7c8f14784de3c93f5d7603f7
This commit is contained in:
parent
075fe3083b
commit
61a9aa7fbe
1 changed files with 7 additions and 0 deletions
|
@ -207,6 +207,13 @@
|
|||
(documentation "Run Cuirass web interface.")
|
||||
(provision '(cuirass-web))
|
||||
(requirement '(user-processes cuirass))
|
||||
|
||||
;; XXX: Respawn slowly to work around the fact that 'cuirass' is not
|
||||
;; ready yet (not listening to the bridge) when it gets in 'started'
|
||||
;; state.
|
||||
(respawn-delay 1)
|
||||
(respawn-limit #~'(10 . 15))
|
||||
|
||||
(start #~(make-forkexec-constructor
|
||||
(list (string-append #$cuirass "/bin/cuirass")
|
||||
"web"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue