guix/doc
45mg 8695dcf9d2
services: elogind: Support hook directories.
Allow the user to specify scripts to be added into Elogind's hook
directories. These scripts will be run before/after
suspend/hibernate/poweroff/reboot.

Also allow setting the associated config options.

* gnu/services/desktop.scm (elogind-configuration): add
`system-sleep-hook-files`, `system-shutdown-hook-files`,
and 4 new config options.
(elogind-configuration-file): Add entries for the new config options
under the `[Sleep]` section.
(elogind-etc-directory): New procedure.
(elogind-service-type): Extend `etc-service-type` using `/etc/elogind`.
* doc/guix.texi (Desktop Services): Document the new options.

Change-Id: I7e22cbaa9d031049b9d085ba0ce4cc8a8b4f16ff
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-30 13:49:57 +01:00
..
images
build.scm doc: Refer to ‘iso-codes’, not ‘iso-codes/pinned’. 2024-10-14 14:08:42 +02:00
contributing.texi doc: Document naming convention for work-in-progress branches. 2024-12-16 22:39:24 +09:00
environment-gdb.scm
fdl-1.3.texi
guix-cookbook.texi doc: cookbook: Document postgres upgrade for cuirass. 2024-12-12 12:52:08 +01:00
guix.texi services: elogind: Support hook directories. 2024-12-30 13:49:57 +01:00
he-config-bare-bones.scm
htmlxref.cnf nls: Update translations. 2024-06-03 00:27:12 +02:00
local.mk nls: Update translations. 2024-06-03 00:27:12 +02:00
package-hello.json
package-hello.scm