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: Ryan Sundberg <ryan <at> arctype.co>
To: 50717 <at> debbugs.gnu.org
Subject: [bug#50717] [PATCH] Shepherd: Add respawn-limit paramter to service class.
Date: Tue, 21 Sep 2021 00:42:14 -0700
[Message part 1 (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 192 days ago.

Previous Next


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