bug#68468: [PATCH v2] gnu: services: Add respawn-limit and respawn-delay.
Commit Message
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’.
@@ -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)})