From: Julien Lepiller <julien@lepiller.eu>
To: help-guix@gnu.org,Bone Baboon <bone.baboon@disroot.org>
Subject: Re: How to create a service for contents of arbitrary file
Date: Wed, 07 Apr 2021 07:12:43 -0400 [thread overview]
Message-ID: <5F18EF49-1BC9-49E3-AEC7-21B7C8361F52@lepiller.eu> (raw)
In-Reply-To: <87a6qag2dh.fsf@disroot.org>
There's special-files-service-type described here: http://guix.gnu.org/manual/devel/en/html_node/Base-Services.html#Base-Services
However, I'm not sure it will work in /sys. I guess you'll have to try and report back :)
HTH!
Le 7 avril 2021 00:11:38 GMT-04:00, Bone Baboon <bone.baboon@disroot.org> a écrit :
>When I use a virtual terminal or Emacs on a virtual terminal using
>`emacsclient --tty` I have a blinking cursor. My preference is to not
>have the cursor blink. I can stop the cursor from blinking by manually
>changing the contents of `/sys/class/graphics/fbcon/cursor_blink` to
>"0". I would like to create a service that manages the contents of
>`/sys/class/graphics/fbcon/cursor_blink`.
>
>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.
>
>Any suggestions on how to make a service for this?
next prev parent reply other threads:[~2021-04-07 11:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-07 4:11 How to create a service for contents of arbitrary file Bone Baboon
2021-04-07 11:12 ` Julien Lepiller [this message]
2021-04-07 14:12 ` Gary Johnson
2021-04-08 23:26 ` Bone Baboon
2021-04-08 23:46 ` Bone Baboon
2021-04-09 0:06 ` Julien Lepiller
2021-04-10 4:18 ` Bone Baboon
2021-04-10 10:50 ` Julien Lepiller
2021-04-14 23:22 ` Bone Baboon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5F18EF49-1BC9-49E3-AEC7-21B7C8361F52@lepiller.eu \
--to=julien@lepiller.eu \
--cc=bone.baboon@disroot.org \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.