[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#68468: [PATCH v2] gnu: services: Add respawn-limit and respawn-delay
|
From: |
Ludovic Courtès |
|
Subject: |
bug#68468: [PATCH v2] gnu: services: Add respawn-limit and respawn-delay. |
|
Date: |
Sun, 28 Jan 2024 22:28:37 +0100 |
|
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi,
attila.lendvai@gmail.com skribis:
> From: Attila Lendvai <attila@lendvai.name>
>
> * gnu/services/shepherd.scm (<shepherd-service>): Add respawn-limit and
> respawn-delay.
> (shepherd-service-file): Emit the two values into the shepherd service
> constructor form.
>
> Change-Id: I54408e8fb4bcc0956d9610771bf5c566fdc2914c
Applied with the tweaks below, thanks!
Ludo’.
diff --git a/doc/guix.texi b/doc/guix.texi
index 6b95ff89e0..9c703da9bc 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -43145,11 +43145,12 @@ Shepherd Services
@item @code{respawn-limit} (default: @code{#f})
Set a limit on how many times and how frequently a service may be
-restarted by Shepherd before it is disabled. See @pxref{Defining
-Services,,, shepherd, The GNU Shepherd Manual} for details.
+restarted by Shepherd before it is disabled. @xref{Defining
+Services,,, shepherd, The GNU Shepherd Manual}, for details.
@item @code{respawn-delay} (default: @code{#f})
-Wait @code{respawn-delay} seconds before restarting a failed service.
+When true, this is the delay in seconds before restarting a failed
+service.
@item @code{start}
@itemx @code{stop} (default: @code{#~(const #f)})