From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0IedBQyRbmP/FQEAbAwnHQ (envelope-from ) for ; Fri, 11 Nov 2022 19:14:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aDmfBQyRbmPCZAAA9RJhRA (envelope-from ) for ; Fri, 11 Nov 2022 19:14:36 +0100 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 E053A14E76 for ; Fri, 11 Nov 2022 19:14:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otYXV-00051G-63; Fri, 11 Nov 2022 13:14:05 -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 1otYXT-00050j-Mm for guix-patches@gnu.org; Fri, 11 Nov 2022 13:14:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1otYXT-0002qK-ET for guix-patches@gnu.org; Fri, 11 Nov 2022 13:14:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1otYXT-0006FJ-Ad for guix-patches@gnu.org; Fri, 11 Nov 2022 13:14:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59197] [PATCH 3/3] home: services: redshift: Add 'configuration' action. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 11 Nov 2022 18:14:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59197 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59197@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 59197-submit@debbugs.gnu.org id=B59197.166819039323922 (code B ref 59197); Fri, 11 Nov 2022 18:14:03 +0000 Received: (at 59197) by debbugs.gnu.org; 11 Nov 2022 18:13:13 +0000 Received: from localhost ([127.0.0.1]:46714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otYWc-0006Di-Dt for submit@debbugs.gnu.org; Fri, 11 Nov 2022 13:13:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otYWY-0006Co-R8 for 59197@debbugs.gnu.org; Fri, 11 Nov 2022 13:13:07 -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 1otYWT-0002Qv-Jh; Fri, 11 Nov 2022 13:13:01 -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=Po47+cuwNe91RouGrardSvHUB0L62A8oYcRSVZgtnWM=; b=brk9N+caqR/bJ+b/sfu8 GDUrUiy7fEuFkLbTADVVW4XXz13SqKEwkUcaT4/bhw4xkhBZ+Vw/xnGWXt6SjxG2+WdgGVMk0RIe/ D+pBV7u1JyVs1/oeYh23LO+oVnQ+VkGnOCb7MYr1uHZg2Im0jnaoLXo49MR/BzmWyMsfcMZDz1Ych YXiNDRiMKsOImnYPMI0grk8Uix7hd4uzZ4sr+RvyNM9NRcV6XfIhNrZjiX9yVAaA3eeiPe6yIk+Z2 /bRG40MwU7QbMoQC8A5WSfW/9Ihh02kb6VgTYb4dIsEfkD6+69Hmk5hRqAD9hxwrAl3MCViNU0A8L pfVfruomoCIWTw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1otYWR-00032K-Ox; Fri, 11 Nov 2022 13:13:01 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Fri, 11 Nov 2022 19:12:46 +0100 Message-Id: <20221111181246.4217-3-ludo@gnu.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221111181246.4217-1-ludo@gnu.org> References: <20221111181246.4217-1-ludo@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668190475; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: 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=Po47+cuwNe91RouGrardSvHUB0L62A8oYcRSVZgtnWM=; b=t3B91F1C6VrmC80W6+GaEJd+xrpJ10DwRQYo+BDLEfd9rKnrPEj+TgzkImCMDHfMobKJXD HtTncWy1lZnxBymKf8z3ccSUbaS+oqUaFNzubXkVe+rVDBCkNqhszgNf54lLYhiKD3e54R dOSQ8gTKWzkk3LDmoZ/kZjdUfWpfNPbet0ukg0ZugI5ewVNxaYHraqJsRTiThBCXlVp5GP mfg+z/hJ9DGGqW/UHt+H9M9QMLLFA5JKkjMfl7RSCHcQnGPYULyXVY2CIUn2zUForBPGcN kgWlWBYTPi7aGG/SDz7boO9go0ptWY6fiWFG5uY3oEpW12vGX1T1OTTrl4Lscw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668190475; a=rsa-sha256; cv=none; b=PQ4PNs3uj4C8haee1p+X6yt0Itn3Gmbb9FVShffEFZlQa39MG+66dOOJ1qT72yveC1L4KS qBrkEzjCFxw1WkpVPlEQtdjPjhqUfNoGjT88j6EBnktMH4ocBtUeezifdC6I3ygOW2gGrV Nc/J6PZg1Ubw11Y8rM1ZXSfbtKuFqz6E2T5I8xH2B4K8SD1zDwyPVtMlEUjnf0/7HyHJMg Yk5qFZl/3tCBp27tFsMsr9eSnyk3gLXVkRbECjoupgf2MhICfwR7/u2lPjoIHnwjIswRJ5 r0c4NqWWgjfV0s+RG0LevJJSk15ss3GgLVh+IWgB5f4Uuyf5e9OQ7BxzqJR5Hg== 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=brk9N+ca; 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" X-Migadu-Spam-Score: -2.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=brk9N+ca; 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" X-Migadu-Queue-Id: E053A14E76 X-Spam-Score: -2.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: evLm73OwGkTo * gnu/home/services/shepherd.scm: Re-export 'shepherd-configuration-action'. * gnu/home/services/desktop.scm (redshift-shepherd-service): Add 'actions' field. --- gnu/home/services/desktop.scm | 3 ++- gnu/home/services/shepherd.scm | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/home/services/desktop.scm b/gnu/home/services/desktop.scm index 1ebfb14f3c..cb25b03b64 100644 --- a/gnu/home/services/desktop.scm +++ b/gnu/home/services/desktop.scm @@ -165,7 +165,8 @@ (define config-file (start #~(make-forkexec-constructor (list #$(file-append redshift "/bin/redshift") "-c" #$config-file))) - (stop #~(make-kill-destructor))))) + (stop #~(make-kill-destructor)) + (actions (list (shepherd-configuration-action config-file)))))) (define home-redshift-service-type (service-type diff --git a/gnu/home/services/shepherd.scm b/gnu/home/services/shepherd.scm index d2a803279f..1a70a220f0 100644 --- a/gnu/home/services/shepherd.scm +++ b/gnu/home/services/shepherd.scm @@ -45,7 +45,8 @@ (define-module (gnu home services shepherd) shepherd-service-auto-start? shepherd-service-modules - shepherd-action)) + shepherd-action + shepherd-configuration-action)) (define-record-type* home-shepherd-configuration make-home-shepherd-configuration -- 2.38.0