From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id AK0tDE27omWsQQAA62LTzQ:P1 (envelope-from ) for ; Sat, 13 Jan 2024 17:33:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id AK0tDE27omWsQQAA62LTzQ (envelope-from ) for ; Sat, 13 Jan 2024 17:33:17 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=ueTS5gJm; 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=1705163597; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=YAO9x9W5YkPCeYqS50ewvo2kNOuopfmK5cmHlUjIa4A=; b=OR9Pl51y70HWT7SZTQQwLLrrU7rQbwZv28y691PdFinXIjfEJmvhTfwpL4AypDfqJXELL9 XI8I0iKDfbDZiAtQVHj6fKm9PCWDeKF43ZYsDKzJD1KYDGwDQIUe7+nvWtuzIpRcQoFrGz 49LHTiL+RT9D/VRifRhwhraxjYi9Yk3SzdutI5KNQT7+jr1384CDOlhP8rcPJhZy6lh4Ut FPVs2iWFt0A1BWdo9paqudOaNwkxQBtvz8rJgs7696FpIHWnPyzsLOMGHNSbCuZv417SH9 WJVpHna2DVmcD5sWUWVHQOY8gNn2hMM8MCQlsSUg4Ph7Ts3GMplnmmb84INQWA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705163597; a=rsa-sha256; cv=none; b=hf5C6uX5o7ZgCe2GA/FZx++BmuJgHe2yjPf7iEeHnzeCPvJUaqhfK4JAQrOhXG+LHnT9jK ppNNQwvi992Oa+eYx6aNuO8l9BVRljrzTXMWAIJkaYLa/Sjo+QsDWsNtL+RSGXVKVrhWKw eis0w7tnnXWCh8VEkLlCnR7qjhBYqnCXLSs2KCtzie/kYNlP16s5qcel17CiIkm9f1wW/w nGawgZsP6eRHcb1izfe3/Lc4LBHQUjRQ+wbb42ptFWFcJsMCUISNGWxWhJ91sU79VnhJnh FiM3E8ppamTag6DETTKBJAtLfBpEAc1USbPi//6CPiRGb6tJIJP0adFuZ8yQSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=ueTS5gJm; 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" 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 18B1180EE for ; Sat, 13 Jan 2024 17:33:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOgwV-0002Xt-2z; Sat, 13 Jan 2024 11:33:07 -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 1rOgwR-0002UW-Bc for guix-patches@gnu.org; Sat, 13 Jan 2024 11:33:03 -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 1rOgwR-0001Ts-3K for guix-patches@gnu.org; Sat, 13 Jan 2024 11:33:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rOgwP-0002zQ-Mf for guix-patches@gnu.org; Sat, 13 Jan 2024 11:33:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68012] [PATCH] thinkfan-service-type: Add thinkfan entry to thinkfan-configuration. Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 Jan 2024 16:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68012 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: lgcoelho@disroot.org, 68012@debbugs.gnu.org Received: via spool by 68012-submit@debbugs.gnu.org id=B68012.170516352411399 (code B ref 68012); Sat, 13 Jan 2024 16:33:01 +0000 Received: (at 68012) by debbugs.gnu.org; 13 Jan 2024 16:32:04 +0000 Received: from localhost ([127.0.0.1]:40915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOgvT-0002xn-Il for submit@debbugs.gnu.org; Sat, 13 Jan 2024 11:32:03 -0500 Received: from jpoiret.xyz ([206.189.101.64]:40160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOgvR-0002xL-CR for 68012@debbugs.gnu.org; Sat, 13 Jan 2024 11:32:01 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id B0909185447; Sat, 13 Jan 2024 16:32:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1705163521; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YAO9x9W5YkPCeYqS50ewvo2kNOuopfmK5cmHlUjIa4A=; b=ueTS5gJmK7udKaJrGXWkQ1W+nXxBaJX9xqcOcNlt9JYjeOEbwxHOOvoybYIPHCVyTJpJmY yq+WPSNXnM0eF4HX31H5HkMybi6TyvvG9wXawlvODuBL0dmgnqH6JmjXnKOSW8t75yVJSX jJMeHWejtbVn2OyErifycJ4SqKTRiV9dgXh0msf+tWqoZ6cTysW3jbHSybYVRz9DQBEWt1 JrR0O09R8CVq+tqo1pYXYh0DsTyRyBtoVR1Oo+ccAfbz/eaqU1A3h0+02clGIkz9Wcqf8R XnPQy/MvoZbh45KmVB5+KpfYIOkLEvAPkpPi+hjEjMSaEoKBs/Ei+5KBzY0g6g== In-Reply-To: References: <29b6707c8c4cdf1808edc79813215578@disroot.org> Date: Sat, 13 Jan 2024 17:31:58 +0100 Message-ID: <87frz1gpoh.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spamd-Bar: / 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: , Reply-to: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches From: Josselin Poiret via Guix-patches via 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-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -8.80 X-Spam-Score: -8.80 X-Migadu-Queue-Id: 18B1180EE X-TUID: 0p64Suh9TK5E --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable lgcoelho--- via Guix-patches via writes: > (define-configuration/no-serialization thinkfan-configuration > + (thinkfan > + (package thinkfan) > + "Thinkfan package to be used.") > (pid-file > (string "/var/run/thinkfan.pid") > "Where to store the PID file.") > @@ -491,17 +494,16 @@ (define-configuration/no-serialization thinkfan-con= figuration >=20=20 > (define thinkfan-shepherd-service > (match-record-lambda > - (pid-file config-file log-file extra-options) > + (thinkfan pid-file config-file log-file extra-options) > (list (shepherd-service > (provision '(thinkfan)) > (documentation > "Adjust fan level according to configured temperature limits= .") > (requirement '(user-processes)) > (start #~(make-forkexec-constructor > - (list (string-append #$thinkfan-next > - "/sbin/thinkfan") > - "-n" #$@extra-options > - "-c" #$config-file) > + (list (string-append #$thinkfan "/sbin/thinkfan") > + "-n" #$@extra-options > + "-c" #$config-file) That's a good idea, but can you squash this with the first commit? Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmWiuv4QHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5Fhcaii7sDAClUmXNm5DZ3VjtMgsJFIw5Vs9So6uyPAsL j8H3mafreF1NVOHpcsKLXSaGYYIa2Lf/EvrFNDEpBI6FautYtZ54zNlU0kX50muR wWoVWg527wjuYDRlzhMXv65QK9TVVAof7vz2DHwdznk/fZQR9RspaK4wHbCKQwmJ N5DthLUf6Jh2YPlAxPoC/saBVU7l4w5MLB/hqB7Eh5OyxhARZKWozUQucMnZnvdh sQVvJ7rwJE7pPdU78gFuFOJm3UdxFeeYbf1IS5xkZUtGJHs90oeHBuoba8YsfJPV 76NeGULEneir4+OtxzzdJrO/MpgiMgQlM+AIsSmIPAD80fjoQ01lpzZqptLipxCV 5QUhKeGrBpTaXAlasCayfpXdsU00/uc5FqX3kGOW0Gy7b9xCQGCbAZQVR5rkvM2u 1pkEKkk8XLCixbZOnRZPa7yj2UIF9xBrwJ8YctemmB7+hRHA0kIZU9Vl1mbH8nKN LQPLlRHpoVmzz4ka2vSFIcPxl14mrO8= =q88x -----END PGP SIGNATURE----- --=-=-=--