[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Shepherd: Add respawn-limit paramter to service class.
From: |
Ryan Sundberg |
Subject: |
[PATCH] Shepherd: Add respawn-limit paramter to service class. |
Date: |
Tue, 21 Sep 2021 00:41:27 -0700 |
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
Description: Text Data
- [PATCH] Shepherd: Add respawn-limit paramter to service class.,
Ryan Sundberg <=