From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id iEyyAH4a0mVImQAAqHPOHw:P1 (envelope-from ) for ; Sun, 18 Feb 2024 15:55:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id iEyyAH4a0mVImQAAqHPOHw (envelope-from ) for ; Sun, 18 Feb 2024 15:55:58 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=lft2L19y; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708268157; 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:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=tLmhtjD7OGVCRwCivvj2ZHIY7QFlXiYyAQSwMcOiiik=; b=PPylUR/gShrDStEeignclSl9yFWIhSud+V68czMXA2rnmHEdEDzL5RE+0VkL7S0MUoZsyt iRj5gkGYnrbZcLzgEbqPd/hWMF9rrA2RYmYviR/X/HNTnOHQdmJglJz+rni+4KPpTas3XA UrTKiyeYzUnP8cpFvefOFW8iiQ5LlyqHSDNtDNkCqh2Ymtrg5NpsZ68dZp5JK6DPBRdPwx gZheztMBelSwUPeZVYDTKk+gQkK0ebqrg0Ot04Q4yPim83re0+XaHmpeGS+M3UoaVWuSBF CrLFhq7MgLElFxxzbKSC9QpyXdW7oL6Dl6Njt2fZfo05AdCxZSLT2Dxnn5NcdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=lft2L19y; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708268157; a=rsa-sha256; cv=none; b=TdkO8IUPQ80CD2GVi8TFNg2IJRcRkQbFolE2pSy5xAWeg6CbNCEvS7obopv5mLTXR4x8xd E9bLbwB3ip/A0AHt3KzvPO83CbHQJMAHnx+1Fbvm3yRVTQGD3SP8Rp0yvCc3uvbyTxjGMb rV6hkIDCefoo7A+C7zEX5MdMWeE1nZY/TF9iRHQ/Tq790FIih3RzbQ72mVM74Aj74wz2kv NvvDEsZghh3GVidK1kFPbnmSt52aG6RxhgnNTwFW1ZXvBcitoJyI6r3vQmv2EnaE1AD05E +DaGjaIUnzghePlJC6nrMDWdpM8IhymHhNljpXDpJ4ziJmjj6ieRxjEpc07Xhg== 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 CC9163CD33 for ; Sun, 18 Feb 2024 15:55:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbia0-0004u7-0e; Sun, 18 Feb 2024 09:55:44 -0500 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 1rbiZy-0004to-H9 for guix-patches@gnu.org; Sun, 18 Feb 2024 09:55:42 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rbiZx-0001r6-Vi for guix-patches@gnu.org; Sun, 18 Feb 2024 09:55:42 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbiaI-0001VW-6y for guix-patches@gnu.org; Sun, 18 Feb 2024 09:56:02 -0500 Subject: bug#57387: [PATCH v3] gnu: Add restartd. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sun, 18 Feb 2024 14:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 57387 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Graves Cc: othacehe@gnu.org, 57387-done@debbugs.gnu.org Mail-Followup-To: 57387@debbugs.gnu.org, ludo@gnu.org, ngraves@ngraves.fr Received: via spool by 57387-done@debbugs.gnu.org id=D57387.17082681244182 (code D ref 57387); Sun, 18 Feb 2024 14:56:01 +0000 Received: (at 57387-done) by debbugs.gnu.org; 18 Feb 2024 14:55:24 +0000 Received: from localhost ([127.0.0.1]:34811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbiZg-00015M-6G for submit@debbugs.gnu.org; Sun, 18 Feb 2024 09:55:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbiZd-0000zn-JI for 57387-done@debbugs.gnu.org; Sun, 18 Feb 2024 09:55:22 -0500 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 1rbiZC-0001bU-MF; Sun, 18 Feb 2024 09:54:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=tLmhtjD7OGVCRwCivvj2ZHIY7QFlXiYyAQSwMcOiiik=; b=lft2L19yVDnsmOiVF0AQ J2l+vL5oK4g9dV5yDaNHOGP4rY/kDvYmVwgKxhcODlIfhU1olwEI5pzx4B9dDPdA+TM/+0xHVOi+K PO8DkYP1u7zeE4jEwbA6nCCTyRAlGo2DbfmlWUdOTmNbnSoYmvXz75ZQiInnZFJMEcp6lYUb0CuLF ZXLQPwB91/hmpDsJYjzAKJJ0ht0fbekqNdRHoyQnM+Spup6RsV3vwNOw5v/xF2pv6hnRhJJdEm4Y6 0GVk4Rioiw9c9k6zbzqbIGu/zpQWZI//El3tFjHq0ciM5SL3vxG955CB9AazhfwsZeV2kVlMIjQop KOWmF0GrkRVovQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <20240203140625.25139-1-ngraves@ngraves.fr> (Nicolas Graves's message of "Sat, 3 Feb 2024 15:06:17 +0100") References: <87czcp8wet.fsf@ngraves.fr> <20240203140625.25139-1-ngraves@ngraves.fr> Date: Sun, 18 Feb 2024 15:54:51 +0100 Message-ID: <87h6i5n7pg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.38 X-Spam-Score: -6.38 X-Migadu-Queue-Id: CC9163CD33 X-Migadu-Scanner: mx13.migadu.com X-TUID: oSHmxd31ketY --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Nicolas Graves skribis: > * gnu/packages/admin.scm (restartd): New variable. > * gnu/packages/patches/restartd-update-robust.patch: Add file. > * gnu/local.mk: Register gnu/packages/patches/restartd-update-robust.patc= h. > > Change-Id: I38b9b70e97b64f006a86d7618a75f1ec3ed8b034 Applied with the changes below, thanks! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 9f51427297..47c82e9678 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -5886,12 +5886,13 @@ (define-public restartd (string-append #$output "/share/man/fr/man8/restartd.8"))))))) (home-page "https://launchpad.net/debian/+source/restartd") (synopsis "Daemon for restarting processes") - (description "This package provides a daemon for checking running and not -running processes. It reads the /proc directory every n seconds and does a -POSIX regexp on the process names. The daemon runs an user-provided script -when it detects a program in the running processes, or an alternate script if -it doesn't detect the program. The daemon can only be called by the root -user, but can use @code{sudo -u user} in the process called if needed.") + (description "This package provides a daemon for checking running and +not running processes. It reads the @file{/proc} directory every @var{n} +seconds and does a POSIX regexp on the process names. The daemon runs a +user-provided script when it detects a program in the running processes, or an +alternate script if it doesn't detect the program. The daemon can only be +called by the root user, but can use @command{sudo -u user} in the process +called if needed.") (license license:gpl2+)))) (define-public rex --=-=-=--