From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EL+1Ks+TbWDErAAAgWs5BA (envelope-from ) for ; Wed, 07 Apr 2021 13:13:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8E61JM+TbWAYWQAAB5/wlQ (envelope-from ) for ; Wed, 07 Apr 2021 11:13:19 +0000 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 3B3261BB5F for ; Wed, 7 Apr 2021 13:13:19 +0200 (CEST) Received: from localhost ([::1]:34228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lU67Z-0006uc-RD for larch@yhetil.org; Wed, 07 Apr 2021 07:13:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lU67F-0006uH-II for help-guix@gnu.org; Wed, 07 Apr 2021 07:12:57 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:52852) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lU67D-0007dW-CP for help-guix@gnu.org; Wed, 07 Apr 2021 07:12:57 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 2f0f749f; Wed, 7 Apr 2021 11:12:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:from:message-id; s=dkim; bh=2AlSRXGNDeMhmI8TMxf4k/Kao7EqJHa86a0DDe07g4o=; b=fzMcDRUJKN/c mkwma3I5rjBEQzTxwi+A3sWnEd0LS/vUOGMehxTbszEPzvJ5rWBJFC7xRi8Pzvzl BcpR7WrXImhQYNxMXAP7h6l1O4yhdRR9zeXqWythustI5dmSRkf2oFYVV9Kgv5du 8ExHU1BXwAg/hvzM/KY4YF6tN20+vq9TM2JAhyQabcbK+BQibzlYkHp0EqvYjr++ XyZ+rsl4a4+r+x/eThJ3b/pF8cyNEP6qELkOPmhegBwX3zwGVPoSZH+dRKH5NZNw thhxF+oIfEJtNemVDfLStk2pYkhVCSnn43EQrjmHA5DFkxx1AmeKeXlh2fW8P1Bq OJIMF2jFgw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 94a7a731 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Wed, 7 Apr 2021 11:12:52 +0000 (UTC) Date: Wed, 07 Apr 2021 07:12:43 -0400 User-Agent: K-9 Mail for Android In-Reply-To: <87a6qag2dh.fsf@disroot.org> References: <87a6qag2dh.fsf@disroot.org> MIME-Version: 1.0 Subject: Re: How to create a service for contents of arbitrary file To: help-guix@gnu.org,Bone Baboon From: Julien Lepiller Message-ID: <5F18EF49-1BC9-49E3-AEC7-21B7C8361F52@lepiller.eu> Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617793999; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=gagKrUvXZR7iLZQ/UdgjLQx72fNV9ASCQfrEZRyK7fU=; b=Y+0YVg/4tk/DKXIHZFNv4sMMpUnDSsKMzHmcuUiul+YBtm/iCCxi7uhKEpC35Xsv9Pwfho 7DslyX205+sYQ/6XT/dXujddTl7HrGOuymfdtYeEiITZPjvHTIhXfHKSP4Hmw4nDA5s+S5 S2z8SlwO5isg9DWVZMRRwGJt62VgP8DozLiH65NR6xqcKAEUWHWtD4vTcdWfkTLWlE3v+t P/0LzEViz0xI5fB3LbIEqncc2RbxuQU7WsQ78V2NBmzNF9svSceL3z/C0w3NWikLwWsGHv DVSDFd/K8YNffN8tUvBLwcIgqyt05psqvYwT0nRRMQNo98Ckx4cpj/OSPfNxPA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617793999; a=rsa-sha256; cv=none; b=Zi72qY/T6LLZqQ0GX3RdOlQUVDV0ArsexS3JU0qLoo/5tBFUMNX0kiZnSEtkAo0A+shxBC M1+Og3n9lb11EwahcNUJFnEnyWmgakm0/czMYn14C5AENegEFtj73mX1VpFsGsuDd4bId2 laXzlTtJ1f0Hd8msO8Ya8rVI/1IpQT+GOoi/AEvZoqA6QaLdsOW3RlhksUkgvqU7KHkZGg 4xocJhI1Cq1R4B1rCEcA9JbaCNbef6qWZ3VGSpRCnAYqQEffXjHSD43iYXwl66S8YVUaCL IgSVcHwWip4RyYC4UfZnh3i2txkB1uapGyIcoSTNp7RyLUMaLJmf9NYTqkOiHw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=fzMcDRUJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=fzMcDRUJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 3B3261BB5F X-Spam-Score: -1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: SMFJgfKuYzCp There's special-files-service-type described here: http://guix=2Egnu=2Eorg/= manual/devel/en/html_node/Base-Services=2Ehtml#Base-Services However, I'm not sure it will work in /sys=2E I guess you'll have to try a= nd report back :) HTH! Le 7 avril 2021 00:11:38 GMT-04:00, Bone Baboon a =C3=A9crit : >When I use a virtual terminal or Emacs on a virtual terminal using >`emacsclient --tty` I have a blinking cursor=2E My preference is to not >have the cursor blink=2E I can stop the cursor from blinking by manually >changing the contents of `/sys/class/graphics/fbcon/cursor_blink` to >"0"=2E I would like to create a service that manages the contents of >`/sys/class/graphics/fbcon/cursor_blink`=2E > >I looked in "Services" as well as the "Defining Services" of the manual >for something similar to `etc-service-type` that allows for the file to >be in any location=2E > >Any suggestions on how to make a service for this?