[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Shepherd: Add respawn-limit paramter to service class.
From: |
Joshua Branson |
Subject: |
Re: [PATCH] Shepherd: Add respawn-limit paramter to service class. |
Date: |
Tue, 21 Sep 2021 15:27:56 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Ryan Sundberg <ryan@arctype.co> writes:
> 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:
You typically want to send patches to guix-patches@gnu.org. :)
>
> #: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
>
>
--
Joshua Branson (jab in #guix)
Sent from Emacs and Gnus
https://gnucode.me
https://video.hardlimit.com/accounts/joshua_branson/video-channels
https://propernaming.org
"You can have whatever you want, as long as you help
enough other people get what they want." - Zig Ziglar