From unknown Sat Aug 16 22:46:07 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75637] [PATCH 0/4] Adding the 'timer' and 'transient' Shepherd services Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, janneke@gnu.org, ludo@gnu.org, tanguy@bioneland.org, guix-patches@gnu.org Resent-Date: Fri, 17 Jan 2025 22:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75637 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75637@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Andrew Tropin , Janneke Nieuwenhuizen , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Tanguy Le Carrour X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andrew Tropin , Janneke Nieuwenhuizen , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Tanguy Le Carrour Received: via spool by submit@debbugs.gnu.org id=B.17371525009945 (code B ref -1); Fri, 17 Jan 2025 22:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Jan 2025 22:21:40 +0000 Received: from localhost ([127.0.0.1]:39162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tYuih-0002aL-Tn for submit@debbugs.gnu.org; Fri, 17 Jan 2025 17:21:40 -0500 Received: from lists.gnu.org ([2001:470:142::17]:60328) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tYuie-0002a3-D4 for submit@debbugs.gnu.org; Fri, 17 Jan 2025 17:21:37 -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 1tYuiW-0006Me-Aj for guix-patches@gnu.org; Fri, 17 Jan 2025 17:21:30 -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 1tYuiW-0002kW-0C; Fri, 17 Jan 2025 17:21:28 -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:Subject:To:From:in-reply-to: references; bh=Z9pEvpznIzO/buFkHEk72eDn/8FGWP+bOElrItb46A8=; b=oDOH6L2araS6lY n7SN/a/kgvPpIvt22df4rTHshH5H0rE7S1YKLsEBXcdmMEmJylsp1iYJXLGU8Y8OCERCI0wGZiE6+ zs92FyVoBdCjTQFE6LwIZ6CAigIVjNUI2aS7Tv31L8zN3OzmzRXAxXP3CXs6YXq8ZvYqbN4ce+x+d As3N60tzyo9kf/7nVKcMbxVOSDD2kQ4+n1eIp0lohjNYJXE1bFUmX/XgXEu9x+acXMmppXTAkY8a8 EitgJCK8DGi+sF1LoAMzfxAXXdbgwoWmUU7ErfJobgWQrTxArEo/fEFXtr+9qnVAIBTQD8NqwDmY5 nhxjji9mkW/VNH8KjeGw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Fri, 17 Jan 2025 23:21:11 +0100 Message-ID: X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello! Shepherd party! 🐑🎉 This patch series adds the famous ‘transient’ and ‘timer’ services from Shepherd 1.0 that everyone has been waiting for. Thoughts? Ludo’. Ludovic CourtĂšs (4): services: shepherd: Add ‘transient’ and ‘timer’. services: Add the Shepherd’s ‘transient’ and ‘timer’ to ‘%base-services’. home: services: shepherd: Add ‘transient’ and ‘timer’ services. home: services: Add ‘transient’ and ‘timer’ to ‘%base-home-services’. doc/guix.texi | 45 +++++++++++++++++++++++++++ gnu/home.scm | 7 +++-- gnu/home/services/shepherd.scm | 21 +++++++++++-- gnu/services/base.scm | 4 +++ gnu/services/shepherd.scm | 56 ++++++++++++++++++++++++++++++++-- 5 files changed, 127 insertions(+), 6 deletions(-) base-commit: a42d57a935009e4dd9b9e9464458540def2cb576 -- 2.47.1 From unknown Sat Aug 16 22:46:07 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75637] [PATCH 1/4] services: shepherd: Add =?UTF-8?Q?=E2=80=98transient=E2=80=99?= and =?UTF-8?Q?=E2=80=98timer=E2=80=99.?= Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: ludo@gnu.org, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 17 Jan 2025 22:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75637 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75637@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxim Cournoyer X-Debbugs-Original-Xcc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxim Cournoyer Received: via spool by 75637-submit@debbugs.gnu.org id=B75637.173715261110210 (code B ref 75637); Fri, 17 Jan 2025 22:24:01 +0000 Received: (at 75637) by debbugs.gnu.org; 17 Jan 2025 22:23:31 +0000 Received: from localhost ([127.0.0.1]:39181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tYukV-0002eY-1F for submit@debbugs.gnu.org; Fri, 17 Jan 2025 17:23:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53112) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tYukR-0002e0-ST for 75637@debbugs.gnu.org; Fri, 17 Jan 2025 17:23:28 -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 1tYukL-0002zL-Vd; Fri, 17 Jan 2025 17:23:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=hauk8xGQY6hjAZ9vhh9Qk3SigJI9htiY0MI/z856ATU=; b=Lxm7O0Qt0GudNB7XiWAw LOhI8a/0Qhd95kC2ruV7IZiOAAJKWamCOFV+p/uaiD07Gz3dEJWyHG7i0h9ZTe2ZrnvHDAvh6DlnW crrmjo7sWvAIWVfw1hautRu1k6rJzz/gDI5/NITunq6Av53/x7vTA7YIF//wgV1VHyjMXFV/Ty/XW +ZXI+zm4XGTeqRB7/02Qx0BxBqJ7mpwGBPrzW9cMMHPiYumFG9AEKwu/qFUJeq6BxCWBo48qneX68 evYaV5hg/3hPD662GyeUu8wSOQjslN1dE1HPhonSCw1H7BNfZm5IsBaPPZdAbI18i+ncZ30kxFSU3 dk5zUOhMAaxV7w==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Fri, 17 Jan 2025 23:22:46 +0100 Message-ID: X-Mailer: git-send-email 2.47.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/services/shepherd.scm (shepherd-timer-service-type) (shepherd-transient-service-type): New variables. * doc/guix.texi (Shepherd Services): Document them. Change-Id: I9b622e7e947e7a6384c2701a313d0c7080a0a5f6 --- doc/guix.texi | 33 ++++++++++++++++++++++++ gnu/services/shepherd.scm | 54 +++++++++++++++++++++++++++++++++++++-- 2 files changed, 85 insertions(+), 2 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 0015d739bb..3e377ca9f4 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -45684,6 +45684,39 @@ Shepherd Services (shepherd my-shepherd)))))) @end lisp +@cindex @code{transient} service, Shepherd +@defvar shepherd-transient-service-type +This service type represents the Shepherd's @code{transient} service, +which lets you spawn commands in the background and interact with them +as regular Shepherd service; it is similar to @command{systemd-run}. + +For example, the command below spawns @command{rsync} in the background, +in an environment where the @env{SSH_AUTH_SOCK} environment variable has +the given value: + +@example +herd spawn transient -E SSH_AUTH_SOCK=$SSH_AUTH_SOCK -- \ + rsync -e ssh -vur . backup.example.org: +@end example + +@xref{Transient Service Maker,,, shepherd, The GNU Shepherd Manual}, for +more info on the @code{transient} service. +@end defvar + +@cindex @code{timer} service, Shepherd +@defvar shepherd-timer-service-type +This is the service type representing the Shepherd's @code{timer} +service, which lets you schedule the execution of commands, similar to +the venerable @command{at} command. Here is an example: + +@example +herd schedule timer at 07:00 -- mpg123 Music/alarm.mp3 +@end example + +@xref{Timer Service,,, shepherd, The GNU Shepherd Manual}, for more info +on the @code{timer} service. +@end defvar + @defvar %shepherd-root-service This service represents PID@tie{}1. @end defvar diff --git a/gnu/services/shepherd.scm b/gnu/services/shepherd.scm index 0de3c9c55c..5f2625ac20 100644 --- a/gnu/services/shepherd.scm +++ b/gnu/services/shepherd.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013-2016, 2018-2024 Ludovic CourtĂšs +;;; Copyright © 2013-2016, 2018-2025 Ludovic CourtĂšs ;;; Copyright © 2017 ClĂ©ment Lassieur ;;; Copyright © 2018 Carlo Zancanaro ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen @@ -81,6 +81,8 @@ (define-module (gnu services shepherd) shepherd-service-upgrade user-processes-service-type + shepherd-timer-service-type + shepherd-transient-service-type assert-valid-graph)) @@ -668,4 +670,52 @@ (define user-processes-service-type seconds after @code{SIGTERM} has been sent are terminated with @code{SIGKILL}."))) -;;; shepherd.scm ends here + +;;; +;;; Timer and transient service maker. +;;; + +(define shepherd-timer-service-type + (shepherd-service-type + 'shepherd-timer + (const (shepherd-service + (provision '(timer)) + (requirement '(user-processes)) + (modules '((shepherd service timer))) + (free-form #~(timer-service + '#$provision + #:requirement '#$requirement)))) + #t ;ignored + (description "The Shepherd @code{timer} service lets you schedule commands +dynamically, similar to the @code{at} command that your grandparents would use +on that Slackware they got on a floppy disk. For example, consider this +command: + +@example +herd schedule timer at 07:00 -- mpg123 Music/alarm.mp3 +@end example + +It does exactly what you would expect."))) + +(define shepherd-transient-service-type + (shepherd-service-type + 'shepherd-transient + (const (shepherd-service + (provision '(transient)) + (requirement '(user-processes)) + (modules '((shepherd service transient))) + (free-form #~(transient-service + '#$provision + #:requirement '#$requirement)))) + #t ;ignored + (description "The Shepherd @code{transient} service lets you run commands +asynchronously, in the background, similar to @command{systemd-run}, as in +this example: + +@example +herd spawn transient -E SSH_AUTH_SOCK=$SSH_AUTH_SOCK -- \\ + rsync -e ssh -vur . backup.example.org: +@end example + +This runs @command{rsync} in the background, as a service that you can inspect +with @command{herd status} and stop with @command{herd stop}."))) -- 2.47.1 From unknown Sat Aug 16 22:46:07 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75637] [PATCH 2/4] services: Add the =?UTF-8?Q?Shepherd=E2=80=99s_?= =?UTF-8?Q?=E2=80=98transient=E2=80=99?= and =?UTF-8?Q?=E2=80=98timer=E2=80=99?= to =?UTF-8?Q?=E2=80=98%base-services=E2=80=99.?= Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Jan 2025 22:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75637 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75637@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 75637-submit@debbugs.gnu.org id=B75637.173715261210218 (code B ref 75637); Fri, 17 Jan 2025 22:24:02 +0000 Received: (at 75637) by debbugs.gnu.org; 17 Jan 2025 22:23:32 +0000 Received: from localhost ([127.0.0.1]:39183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tYukV-0002ed-Ox for submit@debbugs.gnu.org; Fri, 17 Jan 2025 17:23:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53116) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tYukS-0002e1-42 for 75637@debbugs.gnu.org; Fri, 17 Jan 2025 17:23:28 -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 1tYukM-0002zR-RA; Fri, 17 Jan 2025 17:23:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=yT7aNWDnkRmlUk0aoFpJXyl868iZ8OYADbB1ksh1kdo=; b=iA8AGPb3hSBRW5FA01s0 xQy1Og8tyuUqxpiTdKdTLVnCr75S1u9ULB1M7Ev9iNILp6eG4JPwV8WGOFrtokvYqKle84J/V2fZg fZnxBswYWcFnAh+Zzg9o5z04Bf5Y8ut4BBshKdcG9yjt5vv0Pq6/1FRvSmy5ai1lFJnHCRfTMRbit wWJDbtTFrCqpfBAPd9LDcjfcSi2lGMlGiKkKKoa+DDRklhbL43BQpNEJZSMH8ANe25JaLKHXg6pFv Y3XSP9kpmzFt1t5EyX+WxOxHFjIzpyhQ/324V7RcodW9Baa9yy9sG38Xs3N37I/ObjTAjF9lCQ7/O dUlMKUeJAUCrKA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Fri, 17 Jan 2025 23:22:47 +0100 Message-ID: X-Mailer: git-send-email 2.47.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/services/base.scm (%base-services): Add instances of ‘shepherd-timer-service-type’ and ‘shepherd-transient-service-type’. Change-Id: I28a35d0dce40b142ee71b330b1cf7a3d222ef6bd --- gnu/services/base.scm | 4 ++++ gnu/services/shepherd.scm | 34 ++++++++++++++++++---------------- 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 5967457002..7331c030d7 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -3750,6 +3750,10 @@ (define %base-services (service log-rotation-service-type) + ;; Convenient services brought by the Shepherd. + (service shepherd-timer-service-type) + (service shepherd-transient-service-type) + ;; Periodically delete old build logs. (service log-cleanup-service-type (log-cleanup-configuration diff --git a/gnu/services/shepherd.scm b/gnu/services/shepherd.scm index 5f2625ac20..328bfbedff 100644 --- a/gnu/services/shepherd.scm +++ b/gnu/services/shepherd.scm @@ -678,14 +678,15 @@ (define user-processes-service-type (define shepherd-timer-service-type (shepherd-service-type 'shepherd-timer - (const (shepherd-service - (provision '(timer)) - (requirement '(user-processes)) - (modules '((shepherd service timer))) - (free-form #~(timer-service - '#$provision - #:requirement '#$requirement)))) - #t ;ignored + (lambda (requirement) + (shepherd-service + (provision '(timer)) + (requirement requirement) + (modules '((shepherd service timer))) + (free-form #~(timer-service + '#$provision + #:requirement '#$requirement)))) + '(user-processes) (description "The Shepherd @code{timer} service lets you schedule commands dynamically, similar to the @code{at} command that your grandparents would use on that Slackware they got on a floppy disk. For example, consider this @@ -700,14 +701,15 @@ (define shepherd-timer-service-type (define shepherd-transient-service-type (shepherd-service-type 'shepherd-transient - (const (shepherd-service - (provision '(transient)) - (requirement '(user-processes)) - (modules '((shepherd service transient))) - (free-form #~(transient-service - '#$provision - #:requirement '#$requirement)))) - #t ;ignored + (lambda (requirement) + (shepherd-service + (provision '(transient)) + (requirement requirement) + (modules '((shepherd service transient))) + (free-form #~(transient-service + '#$provision + #:requirement '#$requirement)))) + '(user-processes) (description "The Shepherd @code{transient} service lets you run commands asynchronously, in the background, similar to @command{systemd-run}, as in this example: -- 2.47.1 From unknown Sat Aug 16 22:46:07 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75637] [PATCH 3/4] home: services: shepherd: Add =?UTF-8?Q?=E2=80=98transient=E2=80=99?= and =?UTF-8?Q?=E2=80=98timer=E2=80=99?= services. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, janneke@gnu.org, ludo@gnu.org, maxim.cournoyer@gmail.com, tanguy@bioneland.org, guix-patches@gnu.org Resent-Date: Fri, 17 Jan 2025 22:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75637 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75637@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Andrew Tropin , Janneke Nieuwenhuizen , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxim Cournoyer , Tanguy Le Carrour X-Debbugs-Original-Xcc: Andrew Tropin , Janneke Nieuwenhuizen , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxim Cournoyer , Tanguy Le Carrour Received: via spool by 75637-submit@debbugs.gnu.org id=B75637.173715261210224 (code B ref 75637); Fri, 17 Jan 2025 22:24:02 +0000 Received: (at 75637) by debbugs.gnu.org; 17 Jan 2025 22:23:32 +0000 Received: from localhost ([127.0.0.1]:39185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tYukW-0002el-79 for submit@debbugs.gnu.org; Fri, 17 Jan 2025 17:23:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53132) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tYukT-0002e2-2H for 75637@debbugs.gnu.org; Fri, 17 Jan 2025 17:23:29 -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 1tYukN-0002zv-OD; Fri, 17 Jan 2025 17:23:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=k+2X3Z70cToyD0NvQfPSifNY8fOMJUycuzqUUgkZ8Mo=; b=ado0KQ6KDnG9856R0kXc pQtlkzpBeSue8RxKq2fm9mEgaH3IBhl3EqkgaTTdy9tNyEWGihlQleFZauxaOApzAJyDZE5T0fyP1 WsLX+jK+Gw7oCfMvjFnihbBmYDStNgx0r7GwucpoFyKm+nmT8v6zC4Cv5uIFGv2/rnhJQkszzb3dx 2nXUcFGdMTAFSn1ySYAODarCcloq0cGBHz7CG7WSdtGGoUyPvdFPpgp9Qnk9SSHVI7HO4QKhVsZHf uhavfDyRm1Xfxc2IHE6HIEVFHG+iEaqZ8HrpMIsnw0DXHck5/CiZxyi2E/InYatlJRoD1eut8HNoE 8qfYwTPrFHL6OQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Fri, 17 Jan 2025 23:22:48 +0100 Message-ID: X-Mailer: git-send-email 2.47.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) * gnu/home/services/shepherd.scm (home-shepherd-timer-service-type) (home-shepherd-transient-service-type): New variables. * doc/guix.texi (Shepherd Home Service): Document them. (Shepherd Services): Add anchor. Change-Id: Ia4eb7cf043f4661c64f5ca81b8989a451532aa18 --- doc/guix.texi | 12 ++++++++++++ gnu/home/services/shepherd.scm | 21 +++++++++++++++++++-- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 3e377ca9f4..a33f2f3083 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -45684,6 +45684,7 @@ Shepherd Services (shepherd my-shepherd)))))) @end lisp +@anchor{shepherd-transient-timer-services} @cindex @code{transient} service, Shepherd @defvar shepherd-transient-service-type This service type represents the Shepherd's @code{transient} service, @@ -47347,6 +47348,17 @@ Shepherd Home Service This service is part of @code{%base-home-services}. @end defvar +@defvar home-shepherd-transient-service-type +@defvarx home-shepherd-timer-service-type +These are the @code{timer} and @code{transient} Shepherd services. The +former lets you schedule command execution for later, while the latter +can run commands in the background as a regular service. + +@xref{shepherd-transient-timer-services, the system @code{timer} and +@code{transient} services}, which are their Guix System counterparts, +for more info. +@end defvar + @node Secure Shell @subsection Secure Shell diff --git a/gnu/home/services/shepherd.scm b/gnu/home/services/shepherd.scm index 37ad1489d6..b2b141d4de 100644 --- a/gnu/home/services/shepherd.scm +++ b/gnu/home/services/shepherd.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2021, 2023 Andrew Tropin ;;; Copyright © 2021 Xinglu Chen -;;; Copyright © 2024 Ludovic CourtĂšs +;;; Copyright © 2024-2025 Ludovic CourtĂšs ;;; ;;; This file is part of GNU Guix. ;;; @@ -34,7 +34,10 @@ (define-module (gnu home services shepherd) home-shepherd-configuration-auto-start? home-shepherd-configuration-daemonize? home-shepherd-configuration-silent? - home-shepherd-configuration-services) + home-shepherd-configuration-services + + home-shepherd-transient-service-type + home-shepherd-timer-service-type) #:re-export (shepherd-service shepherd-service? shepherd-service-documentation @@ -181,3 +184,17 @@ (define home-shepherd-service-type (define-service-type-mapping shepherd-root-service-type => home-shepherd-service-type) + +;;; +;;; Timer and transient service maker. +;;; + +(define home-shepherd-timer-service-type + (service-type + (inherit (system->home-service-type shepherd-timer-service-type)) + (default-value '()))) ;requirement + +(define home-shepherd-transient-service-type + (service-type + (inherit (system->home-service-type shepherd-transient-service-type)) + (default-value '()))) ;requirement -- 2.47.1 From unknown Sat Aug 16 22:46:07 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75637] [PATCH 4/4] home: services: Add =?UTF-8?Q?=E2=80=98transient=E2=80=99?= and =?UTF-8?Q?=E2=80=98timer=E2=80=99?= to =?UTF-8?Q?=E2=80=98%base-home-services=E2=80=99.?= Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, janneke@gnu.org, ludo@gnu.org, tanguy@bioneland.org, guix-patches@gnu.org Resent-Date: Fri, 17 Jan 2025 22:24:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75637 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75637@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Andrew Tropin , Janneke Nieuwenhuizen , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Tanguy Le Carrour X-Debbugs-Original-Xcc: Andrew Tropin , Janneke Nieuwenhuizen , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Tanguy Le Carrour Received: via spool by 75637-submit@debbugs.gnu.org id=B75637.173715262310247 (code B ref 75637); Fri, 17 Jan 2025 22:24:03 +0000 Received: (at 75637) by debbugs.gnu.org; 17 Jan 2025 22:23:43 +0000 Received: from localhost ([127.0.0.1]:39187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tYukg-0002fC-UJ for submit@debbugs.gnu.org; Fri, 17 Jan 2025 17:23:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53142) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tYukU-0002e4-0N for 75637@debbugs.gnu.org; Fri, 17 Jan 2025 17:23:30 -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 1tYukO-00030C-NG; Fri, 17 Jan 2025 17:23:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=3Wc1I+hodyphu/XxYbt2uoG+30U3kayLyQSKT2t+13k=; b=K5UOP6JAkdCW6ASU0Yv8 ZQx5H0+D+pK5kjyBiUTTGS835mnaMC5a1G8clRGpxK9zF4IAhCvsKHF8spi1RwYL1wSYe1av2kL3u cDpTAO746D6Jk4eE9QqgcIjawxR7z+sOQAXzrJ0ihPcqsg0nDoEVNsJ0cq5vG/bnep7w2nEb6ARqp v24rPrTGWxMRe4sIKWNe8anb4yaZx1y8cluqoEaKKo5IuSkHTTyR0DpVO/0eHAv/bpUcqp78cJBxz YvsqgKaIvPYXAjVaf1zvz7My41UYWC7+bk1RNrpMVHp8hwOuhB/SQA23DIFWgb7nWVZTuDcio/WCz Ok2Tkll7nRygOA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Fri, 17 Jan 2025 23:22:49 +0100 Message-ID: X-Mailer: git-send-email 2.47.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/home.scm (%base-home-services): Add ‘home-shepherd-timer-service-type’ and ‘home-shepherd-transient-service-type’. Change-Id: Ib48744b82c7e4c6ff6b8ac3d669774feda813f4b --- gnu/home.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/home.scm b/gnu/home.scm index 3b479f64f9..1172b1a0ab 100644 --- a/gnu/home.scm +++ b/gnu/home.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2021 Andrew Tropin -;;; Copyright © 2022, 2024 Ludovic CourtĂšs +;;; Copyright © 2022, 2024-2025 Ludovic CourtĂšs ;;; ;;; This file is part of GNU Guix. ;;; @@ -21,6 +21,7 @@ (define-module (gnu home) #:use-module (gnu home services) #:use-module (gnu home services symlink-manager) #:use-module (gnu home services shells) + #:use-module (gnu home services shepherd) #:use-module (gnu home services xdg) #:use-module (gnu home services fontutils) #:use-module (gnu home services admin) @@ -80,7 +81,9 @@ (define-record-type* home-environment (define %base-home-services ;; Non-essential but useful services to have by default. - (list (service home-log-rotation-service-type))) + (list (service home-log-rotation-service-type) + (service home-shepherd-timer-service-type) + (service home-shepherd-transient-service-type))) (define (home-environment-default-essential-services he) "Return the list of essential services for home environment." -- 2.47.1 From unknown Sat Aug 16 22:46:07 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75637] [PATCH 3/4] home: services: shepherd: Add =?UTF-8?Q?=E2=80=98transient=E2=80=99?= and =?UTF-8?Q?=E2=80=98timer=E2=80=99?= services. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 19 Jan 2025 09:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75637 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 75637@debbugs.gnu.org, Tanguy Le Carrour , Janneke Nieuwenhuizen , Andrew Tropin Received: via spool by 75637-submit@debbugs.gnu.org id=B75637.173727912121708 (code B ref 75637); Sun, 19 Jan 2025 09:32:02 +0000 Received: (at 75637) by debbugs.gnu.org; 19 Jan 2025 09:32:01 +0000 Received: from localhost ([127.0.0.1]:44908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tZRez-0005e4-4C for submit@debbugs.gnu.org; Sun, 19 Jan 2025 04:32:01 -0500 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:45127) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tZRex-0005dp-7i for 75637@debbugs.gnu.org; Sun, 19 Jan 2025 04:31:59 -0500 Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-2161eb94cceso42447845ad.2 for <75637@debbugs.gnu.org>; Sun, 19 Jan 2025 01:31:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737279113; x=1737883913; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=F4p6kcysstQS41elVDosm1qJEnlDnbpuz48dVRQDd/c=; b=gtT+aCgBz2fOn+acCYU1j+gNSbOmnsEbdW8+M7OLAFNEgaWDcVv6Phd82/aTWm7DKC eIn+n+APUGpn8SV2NF60Z+PHBuad9Q6upeUNPzLbS/7xNN0y2knkvh44TtmbwlAIbuPo YNbgGg/LuLw0KgoK1SYNPsf95vPCdwmqHpDjZBDrNuL1PNfaByeUMh/nsVlcpiZCxcHM 8Md0BKd8MN7p5yAxw2tHgUN6I0vhosYUEckUUo3LrsICPCu9VMF53EUKTN1Cxb4Vpu2Y A8kj3VkA75Trh9/4jXI8e92s9X2CtA+3aJytfdOd3//3spP+OlD1ofnq3ZOh+S07Emqw 9jAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737279113; x=1737883913; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=F4p6kcysstQS41elVDosm1qJEnlDnbpuz48dVRQDd/c=; b=qaj2+939vuJfluhSlKCQStl8tSlHGHWS4avn48NY5sKOWCVFh2kCaXA++ZXklbucFB B2K2e6N3P0HPzCv7zGme3yeNanwDKuoZ2XB4L9nW0q16lDvA1fUhofBT2+PxByC3M1Yl 4r413lKE350cban76L5rq1MuVdrIocmN4sV/kif+aXXhYlwJ2KWQ64P0PFuQGqgaLBZa 7yrN79658oVKvuUK5A6yiCwGpl1V5mSvGcGMJLoGP/zU16zIJfVV4ealFVQ+yhQ9zyKJ ehlEAvuO3cmTmsmbZilMpjJh8rQ9De7y8K3QR6YCUEBIEFGk2hKtuQ3nTA4HjEADjPWA jkbQ== X-Gm-Message-State: AOJu0YyYJY0u6SPieogYRUauxvYNqIWcJKHvVslpOkjrfRndanDBMeQ6 +aiX3TTMPfL4QWDE05G6AEYCt9WRt0Td0fzxvySNGlgAzy+rU8hM X-Gm-Gg: ASbGnct11v5ghNIb9I+RuHb16RyphUVLM9hWbOc+KAwS1fSvsxa7h2096BV9FDWlor3 f6r19xcQC3snyyRCQUhOA0OwOb/fsn5vztaelV79ymPNHtRQGokn6fJIayMzwF8ecK5vfJDWpRe jGCvdW5EbuDZTOQ76rSQ/mtj/pev1wjcz2aFqGOzCqhTSw1D839KkcJWlNJm3ZeeM3mjvrCVg3S eQ3Ly/o+BhtReMsq2NkxgPY6Qx5PVqFp5eJmbTjIL/o7WYFLXhSbkz6BhS7bLgi/So= X-Google-Smtp-Source: AGHT+IGPUhFLOSW7oR6YbhtolKPtNSHzVw4NRUIMYZ6OY4+he56vWeU6AYqT/693Uwihgi9FUTPbZg== X-Received: by 2002:a17:902:f70b:b0:21a:82b7:fea2 with SMTP id d9443c01a7336-21c35502582mr148656865ad.15.1737279112864; Sun, 19 Jan 2025 01:31:52 -0800 (PST) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21c2ceba580sm42441515ad.83.2025.01.19.01.31.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jan 2025 01:31:52 -0800 (PST) From: Maxim Cournoyer In-Reply-To: ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Fri, 17 Jan 2025 23:22:48 +0100") References: Date: Sun, 19 Jan 2025 18:31:41 +0900 Message-ID: <87h65v8802.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ludovic Court=C3=A8s writes: > * gnu/home/services/shepherd.scm (home-shepherd-timer-service-type) > (home-shepherd-transient-service-type): New variables. > * doc/guix.texi (Shepherd Home Service): Document them. > (Shepherd Services): Add anchor. > > Change-Id: Ia4eb7cf043f4661c64f5ca81b8989a451532aa18 Reviewed-by: Maxim Cournoyer --=20 Thanks, Maxim From unknown Sat Aug 16 22:46:07 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75637] [PATCH 4/4] home: services: Add =?UTF-8?Q?=E2=80=98transient=E2=80=99?= and =?UTF-8?Q?=E2=80=98timer=E2=80=99?= to =?UTF-8?Q?=E2=80=98%base-home-services=E2=80=99.?= Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 19 Jan 2025 09:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75637 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 75637@debbugs.gnu.org, Tanguy Le Carrour , Janneke Nieuwenhuizen , Andrew Tropin Received: via spool by 75637-submit@debbugs.gnu.org id=B75637.173727915021789 (code B ref 75637); Sun, 19 Jan 2025 09:33:01 +0000 Received: (at 75637) by debbugs.gnu.org; 19 Jan 2025 09:32:30 +0000 Received: from localhost ([127.0.0.1]:44914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tZRfS-0005fN-Gj for submit@debbugs.gnu.org; Sun, 19 Jan 2025 04:32:30 -0500 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:43342) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tZRfP-0005f8-CO for 75637@debbugs.gnu.org; Sun, 19 Jan 2025 04:32:27 -0500 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-21631789fcdso56748515ad.1 for <75637@debbugs.gnu.org>; Sun, 19 Jan 2025 01:32:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737279141; x=1737883941; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hVkG5peelfn96rcU+zjdVvSMdcKKt54sn6cgsQew0yM=; b=GcyJpzcKbaHSb33ndiz9j5RZMdVPxfhVFhf5TguZQ16A7K2K00ZsXbirurs696Ct+E 8gvJqZnSMNV7KZXMgyEEUtkmvjNBMm/JmqpPPpE3aETwQALrYlIjaSRGEYYyTaklrUPx K72RJq57eKM2VNJg2aZcPvzokJTgfOBojiNtsdm6G3hznWrpd6dOibPE9T81ukppTrNc HvL4sGKIYCcvWAlT1ouegproMBYbZJ8f+VtbHyhFqvv7zj5QadGgdLp51QfjmLuXAMsl N3xXbAL2Smvn7NtFWiE2HFlpESBzIIYMgpNo4RNC/ZvBVByfMUnSeowpS5BkV2Q2vThq XytA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737279141; x=1737883941; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=hVkG5peelfn96rcU+zjdVvSMdcKKt54sn6cgsQew0yM=; b=Hv2+fH7aLwUP/2rRl40BQ9nMFGiCs9LcewIxvtu/SdE4LQjXSufpZXZ9I9oVkxeeJc PZ4B77B7xEZkRA7ewGj1ozf3EmKC9flXXXXTjxn4GsJ4BNty78KXH2XNChNX8t03w24b SOmbViSZV51XEqNvxiM9ZC1b4BnXUmfg3TTs78qJC2rv8k1T3z942dXxE/uXpxaQymaX ztka/K3NYGpAIShBC5oxuf++U14IICWb01dvwMGLYCe3CVNbXkU354twhGDWsP3RSnvs x+AiIgHNDOOhUNT+KcB2rK0OQgwhy/Fjw1cc+oEFG3KF1soOPPyvoRkS0w/nRgqVs75O d1+g== X-Gm-Message-State: AOJu0YwX45nkv6meiBqvlaHzfI/uK3LXIm5IQxB75HJGBVfmgx/2GxFL 6Ha408+I5XHeHA6wD06pyP5/AEoylSvVNCmP+/aPOjbEUrtBElLN X-Gm-Gg: ASbGncucquCVf+Zj9MNn4bpxM+LTJyoaRRZ8oa08n9S2QzPWkToy9ijkkuNKg2IK4PJ 97lKsuf83bCvXqzq5s4KTCM4yNqZmiWvFjC53Uhg/7G9BiwxSA9Mr/8fnksOTEsaWPqclqY1+/c AECzusKqS0Q9p7b/HLc1sRnPxbo3IVVMSzNxh1eSkhTkh4wJRsVo7zfhHZLsPhPN6G0oiBOzvmd tfiH2l465VZb2q3AqkJBzMy4sV2FDTPCUAeBp3dgITe9+Flvg6aQlfefjR/v1LHLP0= X-Google-Smtp-Source: AGHT+IHkn09irpdjyvFM4SQTEa+K66CQTkAa/3HTcFBDjAwCfFABfUXyGsdknrps4PesxS9MGbshuA== X-Received: by 2002:a17:902:fc87:b0:216:271d:e06c with SMTP id d9443c01a7336-21c35c5302fmr116337495ad.4.1737279141418; Sun, 19 Jan 2025 01:32:21 -0800 (PST) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21c2ce9ff57sm42024485ad.46.2025.01.19.01.32.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jan 2025 01:32:20 -0800 (PST) From: Maxim Cournoyer In-Reply-To: ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Fri, 17 Jan 2025 23:22:49 +0100") References: Date: Sun, 19 Jan 2025 18:32:09 +0900 Message-ID: <87cygj87za.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ludovic Court=C3=A8s writes: > * gnu/home.scm (%base-home-services): Add > =E2=80=98home-shepherd-timer-service-type=E2=80=99 and > =E2=80=98home-shepherd-transient-service-type=E2=80=99. > > Change-Id: Ib48744b82c7e4c6ff6b8ac3d669774feda813f4b Reviewed-by: Maxim Cournoyer --=20 Thanks, Maxim From unknown Sat Aug 16 22:46:07 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#75637: closed (Re: [bug#75637] [PATCH 4/4] home: services: Add =?UTF-8?Q?=E2=80=98transient=E2=80=99?= and =?UTF-8?Q?=E2=80=98timer=E2=80=99?= to =?UTF-8?Q?=E2=80=98%base-home-services=E2=80=99.?=) Message-ID: References: <87wmeh5l4i.fsf@gnu.org> X-Gnu-PR-Message: they-closed 75637 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 75637@debbugs.gnu.org Date: Sun, 26 Jan 2025 21:20:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1737926401-30893-1" This is a multi-part message in MIME format... ------------=_1737926401-30893-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #75637: [PATCH 0/4] Adding the 'timer' and 'transient' Shepherd services which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 75637@debbugs.gnu.org. --=20 75637: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75637 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1737926401-30893-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 75637-done) by debbugs.gnu.org; 26 Jan 2025 21:19:23 +0000 Received: from localhost ([127.0.0.1]:58128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tcA2M-000814-Tm for submit@debbugs.gnu.org; Sun, 26 Jan 2025 16:19:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43518) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tcA2K-00080p-A8 for 75637-done@debbugs.gnu.org; Sun, 26 Jan 2025 16:19:21 -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 1tcA2C-0008SO-VN; Sun, 26 Jan 2025 16:19:12 -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=YM+ZefZW1Ls1F0Z7q28Fc20yjGcTXfqeQ6bf3WL3lH8=; b=dFYhsufUpKOriU3qVeoe MdowfhXFZc5CLAwtmUi38Y7bbmAXTNLtLccCjHtGv24Hojp5kaxf3/aLIlu/8GWQsjCMNFud2WhBH OOW8o4BXopMf0SHk+6XvP+AvDR8vD47vKOXiHC0y9z2BS8ELb3CZ3aPOZoEpYZV61oEooGTN/XJ30 4EyzKk/+SIn5eu2lS684PdthAjK4C+/zjwfUFZmQQn+IKj41b2VYmg4Yl5+JPYelCtUWej+mfyW8J pXr6/4DDBydpUya9RNO6Y+rQcPpIsajp9U0TBdpAZloKO1/JiihKns3PmnZvrtvZto74eKr7/+5UX afS8SeSFSpqr4w==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxim Cournoyer Subject: Re: [bug#75637] [PATCH 4/4] home: services: Add =?utf-8?B?4oCY?= =?utf-8?B?dHJhbnNpZW504oCZ?= and =?utf-8?B?4oCYdGltZXLigJk=?= to =?utf-8?Q?=E2=80=98%base-home-services?= =?utf-8?Q?=E2=80=99=2E?= In-Reply-To: <87cygj87za.fsf@gmail.com> (Maxim Cournoyer's message of "Sun, 19 Jan 2025 18:32:09 +0900") References: <87cygj87za.fsf@gmail.com> Date: Sun, 26 Jan 2025 22:19:09 +0100 Message-ID: <87wmeh5l4i.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75637-done Cc: Andrew Tropin , Tanguy Le Carrour , 75637-done@debbugs.gnu.org, Janneke Nieuwenhuizen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Pushed as 4fa122bc4d3ccdca5b4613c3d700558c4af593fe, thank you! ------------=_1737926401-30893-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 17 Jan 2025 22:21:40 +0000 Received: from localhost ([127.0.0.1]:39162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tYuih-0002aL-Tn for submit@debbugs.gnu.org; Fri, 17 Jan 2025 17:21:40 -0500 Received: from lists.gnu.org ([2001:470:142::17]:60328) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tYuie-0002a3-D4 for submit@debbugs.gnu.org; Fri, 17 Jan 2025 17:21:37 -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 1tYuiW-0006Me-Aj for guix-patches@gnu.org; Fri, 17 Jan 2025 17:21:30 -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 1tYuiW-0002kW-0C; Fri, 17 Jan 2025 17:21:28 -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:Subject:To:From:in-reply-to: references; bh=Z9pEvpznIzO/buFkHEk72eDn/8FGWP+bOElrItb46A8=; b=oDOH6L2araS6lY n7SN/a/kgvPpIvt22df4rTHshH5H0rE7S1YKLsEBXcdmMEmJylsp1iYJXLGU8Y8OCERCI0wGZiE6+ zs92FyVoBdCjTQFE6LwIZ6CAigIVjNUI2aS7Tv31L8zN3OzmzRXAxXP3CXs6YXq8ZvYqbN4ce+x+d As3N60tzyo9kf/7nVKcMbxVOSDD2kQ4+n1eIp0lohjNYJXE1bFUmX/XgXEu9x+acXMmppXTAkY8a8 EitgJCK8DGi+sF1LoAMzfxAXXdbgwoWmUU7ErfJobgWQrTxArEo/fEFXtr+9qnVAIBTQD8NqwDmY5 nhxjji9mkW/VNH8KjeGw==; From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= To: guix-patches@gnu.org Subject: [PATCH 0/4] Adding the 'timer' and 'transient' Shepherd services Date: Fri, 17 Jan 2025 23:21:11 +0100 Message-ID: X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Debbugs-Cc: Andrew Tropin , Janneke Nieuwenhuizen , Ludovic CourtĂšs , Tanguy Le Carrour Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Ludovic=20Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello! Shepherd party! 🐑🎉 This patch series adds the famous ‘transient’ and ‘timer’ services from Shepherd 1.0 that everyone has been waiting for. Thoughts? Ludo’. Ludovic CourtĂšs (4): services: shepherd: Add ‘transient’ and ‘timer’. services: Add the Shepherd’s ‘transient’ and ‘timer’ to ‘%base-services’. home: services: shepherd: Add ‘transient’ and ‘timer’ services. home: services: Add ‘transient’ and ‘timer’ to ‘%base-home-services’. doc/guix.texi | 45 +++++++++++++++++++++++++++ gnu/home.scm | 7 +++-- gnu/home/services/shepherd.scm | 21 +++++++++++-- gnu/services/base.scm | 4 +++ gnu/services/shepherd.scm | 56 ++++++++++++++++++++++++++++++++-- 5 files changed, 127 insertions(+), 6 deletions(-) base-commit: a42d57a935009e4dd9b9e9464458540def2cb576 -- 2.47.1 ------------=_1737926401-30893-1--