From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gBUOJSpvmWYNNQAAqHPOHw:P1 (envelope-from ) for ; Thu, 18 Jul 2024 19:38:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id gBUOJSpvmWYNNQAAqHPOHw (envelope-from ) for ; Thu, 18 Jul 2024 21:38:18 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=fmiOhbVX; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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=1721331498; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=scPbHUhYR1ovT399KmN6CJg8/frO0H/fJgpCZrGCT8I=; b=an4sdcng0Yz8uBj2FTtpXbD10R2oxm0KzK3ZfSTkWnyJz7Eo42gu+9qlKlsgF/kI8LpCq7 4WP2PwSs3CsS7j6jRY3ZJFdiYJBeyKqOQJEW/jCluZCzRUUYQ1anPOwdKj2thRlh+l15Ck U+0fbSq2gHXGATLBvDYL9XytTGTqEX5BwCZ8LoF2QtJfEfDHyvkKYtz77HqnmzsZKPrTGV yC6nJvuhhmVqsewZFYxomm8QPEFIXTvsL5jnFI3upkvcNF6+CSlznhxvODadK9ixiDIMAk jkgHisXUC/iyex9b+LNfDXPK7macZiyH4POo3UYJFjzjNOTiKhrmLF9K5VMrFg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721331498; a=rsa-sha256; cv=none; b=WqCM6R+Y9Ww7/1OnoU8bGtB35iSQOvhGIck46seRDtzoRmrUL0ady4MyZhLgKJt2NV4f94 p3/cIWBhbX2kwFDsaB9xZjHl//oMvimCMUgQDBtZljT3CqgesDG/EsXOmkjAXxxnixg5G8 JniPy6I2omW/sXd8mP6Vd0MUhacgMTmAKXlHE3v4oIuaSGcWNzFZYkuGV7xQnpnRIJY60m 1qZMgekxKHY0tlzL5qnnAWyJpHOOP/JeIZPvaQInz9njiewSRVYLMe/qIqVvD3isr90tg6 nmS5zTlKjwOXaeec/zNgMsOhl17rVASuFIMUMa44gk2DQ935kLWFhYDY8j+L/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=fmiOhbVX; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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" 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 A6FA067746 for ; Thu, 18 Jul 2024 21:38:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sUWwy-0002Ol-IT; Thu, 18 Jul 2024 15:38:00 -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 1sUWww-0002OO-Q1 for guix-patches@gnu.org; Thu, 18 Jul 2024 15:37:58 -0400 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 1sUWww-0002PU-AK for guix-patches@gnu.org; Thu, 18 Jul 2024 15:37:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sUWx0-00043p-40 for guix-patches@gnu.org; Thu, 18 Jul 2024 15:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72181] [PATCH] gnu: services: power-profiles-daemon: Beautify service. Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 18 Jul 2024 19:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72181 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72181@debbugs.gnu.org Cc: Dariqq X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172133142415522 (code B ref -1); Thu, 18 Jul 2024 19:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jul 2024 19:37:04 +0000 Received: from localhost ([127.0.0.1]:38101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUWw4-00042G-4H for submit@debbugs.gnu.org; Thu, 18 Jul 2024 15:37:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:39780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUWw1-00041s-CB for submit@debbugs.gnu.org; Thu, 18 Jul 2024 15:37:02 -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 1sUWtr-00068q-2P for guix-patches@gnu.org; Thu, 18 Jul 2024 15:34:47 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sUWto-0001WA-U8 for guix-patches@gnu.org; Thu, 18 Jul 2024 15:34:46 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 4217F240103 for ; Thu, 18 Jul 2024 21:34:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1721331281; bh=addJfDXLYydJR8AkRy2QcMxioV1eo5/kCmEEy5HvdBQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=fmiOhbVXr6cdtIApS5k26P25WIiv825qxwj5Q7aZYASXOfUCZZyBtxcvoJel4RhVg fCeLdAHDF8OnVJw9zOxlXDc0ViikShECJHNZS6GASjO9sR6IjOb2Tu8+n8t3S+JnfY ZDnan8qqqVMr9tXyTMC7MnW99NKzXBO+oHJnFnIRU5NY36ljY7iv+bAAld8LJ49xrx vccOhQKsrelCRMfsTsRfhzYTXjRWJd/rYbWJCD/rFwLqGh+m0BRUya86F2BeEUMUg7 +oH+p2atLkont8uQSYlKY5p9orIEngX8ir1Lhgo+14Q3ooV3lGWykeTrrp7zxtAd4b acllQyA7TqClQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WQ30b3dB7z6tlh; Thu, 18 Jul 2024 21:34:39 +0200 (CEST) From: Dariqq Date: Thu, 18 Jul 2024 19:28:06 +0000 Message-ID: <01c0b4ce7e4f714d1a4e79e33e9ee994effe567a.1721330886.git.dariqq@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=dariqq@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: -1.21 X-Spam-Score: -1.21 X-Migadu-Queue-Id: A6FA067746 X-Migadu-Scanner: mx11.migadu.com X-TUID: yzgCX27U7M2+ * gnu/services/pm.scm (power-profiles-daemon-shepherd-service): Change indentation. [requirement]: Add user-processes. [documentation]: Change name to Power Profiles Daemon. (power-profiles-daemon-service-type) [description]: Change name to Power Profiles Daemon. Change-Id: Ibbd06cf1fbadd812ad3f0eac92b9772e3387f875 --- Addressing some of the feedpack I got after the original patch #70460 was already pushed: Changing power-profiles-daemon to Power Profiles Daemon in descriptons and make the service require user-processes. Also let the indentation of the shepherd service match other services. gnu/services/pm.scm | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/gnu/services/pm.scm b/gnu/services/pm.scm index 47f0bf7812..5e8e7efda2 100644 --- a/gnu/services/pm.scm +++ b/gnu/services/pm.scm @@ -52,14 +52,15 @@ (define (power-profiles-daemon-shepherd-service config) (match-record config (power-profiles-daemon) - (list (shepherd-service - (provision '(power-profiles-daemon)) - (requirement '(dbus-system)) - (documentation "Run the power-profiles-daemon.") - (start #~(make-forkexec-constructor - (list #$(file-append power-profiles-daemon - "/libexec/power-profiles-daemon")))) - (stop #~(make-kill-destructor)))))) + (list + (shepherd-service + (provision '(power-profiles-daemon)) + (requirement '(user-processes dbus-system)) + (documentation "Run the Power Profiles Daemon.") + (start #~(make-forkexec-constructor + (list #$(file-append power-profiles-daemon + "/libexec/power-profiles-daemon")))) + (stop #~(make-kill-destructor)))))) (define %power-profiles-daemon-activation #~(begin @@ -83,7 +84,7 @@ (define power-profiles-daemon-service-type (service-extension activation-service-type (const %power-profiles-daemon-activation)))) (default-value (power-profiles-daemon-configuration)) - (description "Run the power-profiles-daemon")))) + (description "Run the Power Profiles Daemon")))) base-commit: e3dfed59d39ac60dd2e2b9ef9f4ef63a2a081f41 -- 2.45.2