--- Begin Message ---
Subject: |
[PATCH] Shepherd: Add respawn-limit paramter to service class. |
Date: |
Tue, 21 Sep 2021 00:42:14 -0700 |
Hello Guix devs,
This patch to GNU Shepherd removes the hard-coded respawn limit and
makes it a configurable option.
The respawn limit works generally the same way as before, allowing N
respawns in M seconds:
#:respawn-limit '(N . M)
We can disable respawns by setting N to 0, which will abort the service
after the first crash. Likewise, we can always respawn by setting
#:respawn-limit #f
Sincerely,
Ryan Sundberg
0001-service-Add-respawn-limit-paramter-to-the-service-cl.patch
Description: Text Data
OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#50717] [PATCH] Shepherd: Add respawn-limit paramter to service class. |
Date: |
Tue, 02 Jan 2024 23:31:59 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi Ryan,
Ryan Sundberg <ryan@arctype.co> skribis:
> This patch to GNU Shepherd removes the hard-coded respawn limit and
> makes it a configurable option.
> The respawn limit works generally the same way as before, allowing N
> respawns in M seconds:
>
> #:respawn-limit '(N . M)
This is was eventually implemented (independently, oops!) in commit
93baa23baee1e0c62d46d9fd041fc1dabc081f26 (June 2023), which made it in
0.10.2.
Thanks,
Ludo’.
--- End Message ---