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: Ryan Sundberg <ryan <at> arctype.co>
Subject: bug#50717: closed (Re: [bug#50717] [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 bug report

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

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 50717 <at> debbugs.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: 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’.

[Message part 3 (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 4 (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)]

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

Previous Next


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