From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CMIWFanXoWThYgEASxT56A (envelope-from ) for ; Sun, 02 Jul 2023 22:01:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wEksFanXoWQ3GgAAauVa8A (envelope-from ) for ; Sun, 02 Jul 2023 22:01:45 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0F07626DF7 for ; Sun, 2 Jul 2023 22:01:45 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=RtlddHl6; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688328105; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ck8deAArAw1TkudlrGgdOBwpTc0KvZLif8udaboJOvE=; b=bB9Ye7H97lZ+UEi/t8OzNnuEjBoga5Ea2ZH9nq5FeobGSQD+x3Pr/CGy8emis04LtSMBvS FxmZVBTZIPCRG+PFuvNnaTrMLFnAXt++HROrUrcVTUe5NrDPPgJOHj1zDC8uEfT9o7pVvb uqDRE4IG69E5+jtsYYKhQOc+C8ZiRH2F6JsT1uuOoHZdxkhV2PvF/GHld5TlNGw/tZBUjg IUoRhvG7px+hj0CdP+oMvwC1Khua/uHsGZoV6GExl/80m/2H5EB+EF/0G/5qR0WEFAZDDE fugaw3VAlyAwmBiOKdH8H7k35rMv1wGsSPb2OfU9w3SJB8t8hcaa0wI0qURE4g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=RtlddHl6; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688328105; a=rsa-sha256; cv=none; b=XRhYlabMCy8TIJfhXr+z73ob0xu30XHrlaLAF1KCqWfWf1odqHzA39aQY1jtcv4OqLv3h7 3/izbw8QCSdyuPCn6tTex/Nh8KCtuecAuy14uNiwH5cc1OZUQaWIERoFjEmvAQ/gEwze9X zDDgM9RKi7thmv+ts6TXLcJKDzGi7rjBm5I9enLBGPMnq+vaTw1W7OpfLacvTJVmDjRDic so14jx1vhPgJv5TippwharVsV552XmwugA1XOw9b3kw4wi6ee4rIdsRiuvAtnodz6Jk3R/ 7neXtwNB7OBZbMj081d3Gff/Br5i39EA5FVtqQLnPivzN64DorO7SLVfStPoZQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qG3GE-0003Wv-PP; Sun, 02 Jul 2023 16:01:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qG3GD-0003Wm-6O for guix-devel@gnu.org; Sun, 02 Jul 2023 16:01:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qG3GC-0008Ds-Pv; Sun, 02 Jul 2023 16:01:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=ck8deAArAw1TkudlrGgdOBwpTc0KvZLif8udaboJOvE=; b=RtlddHl6ah1QDMXYnoLX srfmPKSV2bHn2KGqom37rL49saXqQ0Vb1bVaSQC/o9YOIeoD5HfFqWEqMyrNbRWzranUsVpAnHldX DNqHhkaV5N0Dgke7ieu4Yb1GJevAheMvJ28Z9eIw+mW7LtAGJ3cfZfePMqF4DMqsK5K14bW3k/GuV Lf9E+Vxwsu7HNAmCwRtj7runHJFG/YDA3wc7UKLel14C8HTkskMGzlZlaFMDWv2JGCJbAptgv/7k5 nQXQYsw2lg3qflxjeqnoYIPwcQIwB48s7xarX0xCmjKALLx5Ufetk9VGDvRuJBeT9xGyLy32rE2wD FqxK+U+nJFGZrQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qG3GC-00077i-Bj; Sun, 02 Jul 2023 16:01:28 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Attila Lendvai Cc: guix-devel Subject: Re: shepherd respawn frequency References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 14 Messidor an 231 de la =?utf-8?Q?R=C3=A9v?= =?utf-8?Q?olution=2C?= jour de la Lavande X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 02 Jul 2023 22:01:26 +0200 In-Reply-To: (Attila Lendvai's message of "Sat, 27 May 2023 08:34:51 +0000") Message-ID: <87zg4et755.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -11.84 X-Spam-Score: -11.84 X-Migadu-Queue-Id: 0F07626DF7 X-TUID: DU2pIdtIOXc0 Hi! Attila Lendvai skribis: > would the shepherd maintaners (looking at you Ludo :) accept a change tha= t introduces a new field into called RESPAWN-DELAY, and issue a f= iber sleep in RESPAWN-SERVICE when it is not #false, and the daemon process= quits unexpectedly? We could do that. It never occurred to me that this is something one would want to have though. My reasoning is that if you mark a service as respawnable, then you really want it to be respawned as soon as it fails, not 5 seconds later. Do you have a motivating example in mind (a daemon) to share? Thanks, Ludo=E2=80=99.