GNU bug report logs - #50717
[PATCH] Shepherd: Add respawn-limit paramter to service class.

Previous Next

Package: guix-patches;

Reported by: Ryan Sundberg <ryan <at> arctype.co>

Date: Tue, 21 Sep 2021 07:43:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#50717: closed ([PATCH] Shepherd: Add respawn-limit paramter
 to service class.)
Date: Tue, 02 Jan 2024 22:33:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 02 Jan 2024 23:31:59 +0100
with message-id <87il4bgye8.fsf <at> gnu.org>
and subject line Re: [bug#50717] [PATCH] Shepherd: Add respawn-limit paramter to service class.
has caused the debbugs.gnu.org bug report #50717,
regarding [PATCH] Shepherd: Add respawn-limit paramter to service class.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
50717: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=50717
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ryan Sundberg <ryan <at> arctype.co>
To: guix-patches <at> gnu.org
Subject: [PATCH] Shepherd: Add respawn-limit paramter to service class.
Date: Tue, 21 Sep 2021 00:42:14 -0700
[Message part 3 (text/plain, inline)]
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 (text/x-patch, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]
[Message part 6 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Ryan Sundberg <ryan <at> arctype.co>
Cc: 50717-done <at> debbugs.gnu.org
Subject: Re: [bug#50717] [PATCH] Shepherd: Add respawn-limit paramter to
 service class.
Date: Tue, 02 Jan 2024 23:31:59 +0100
Hi Ryan,

Ryan Sundberg <ryan <at> 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’.


This bug report was last modified 1 year and 192 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.