From: Joshua Branson <jbranso@dismail.de>
To: Ryan Sundberg <ryan@arctype.co>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] Shepherd: Add respawn-limit paramter to service class.
Date: Tue, 21 Sep 2021 15:27:56 -0400 [thread overview]
Message-ID: <8735pxohj7.fsf@dismail.de> (raw)
In-Reply-To: <5475b738-4727-025f-c1f9-f9855dea0627@arctype.co> (Ryan Sundberg's message of "Tue, 21 Sep 2021 00:41:27 -0700")
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
prev parent reply other threads:[~2021-09-21 19:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-21 7:41 [PATCH] Shepherd: Add respawn-limit paramter to service class Ryan Sundberg
2021-09-21 19:27 ` Joshua Branson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8735pxohj7.fsf@dismail.de \
--to=jbranso@dismail.de \
--cc=guix-devel@gnu.org \
--cc=ryan@arctype.co \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).