summary refs log tree commit diff
path: root/po/doc
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-02-01 00:32:50 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-02-20 19:58:14 -0500
commite9fa17eb98efbd6211ab44ab49b8c078d4b73e04 (patch)
tree3a1dba65fe871e068904e528b996997d1e9b7634 /po/doc
parent82d19441b989d082d89f4e36d99f225ffc8db654 (diff)
downloadguix-e9fa17eb98efbd6211ab44ab49b8c078d4b73e04.tar.gz
services: udev: Use a fixed location for the rules directory and config.
Fixes <https://issues.guix.gnu.org/47681>.

This change adjusts the location of the udev configuration file and rules
directory to a fixed location.  Since udev relies on inotify to discover
change to its rules directory (/etc/udev/rules.d), by using a fixed directory
layout, new udev rules can be automatically picked up without restarting the
service.

* gnu/services/base.scm (udev-rules-union): Build rules output directly
in #$output.
(udev-shepherd-service)[start]: Adjust the UDEV_CONFIG_FILE and
EUDEV_RULES_DIRECTORY environment variables.
[actions]: Remove field.  The 'rules' action is no longer useful.
(udev.conf): New variable.
(udev-etc): New procedure.
(udev-service-type): Extend the etc-service-type with it.
Diffstat (limited to 'po/doc')
0 files changed, 0 insertions, 0 deletions