gnu: services: power-profiles-daemon: Beautify service.

* gnu/services/pm.scm (power-profiles-daemon-shepherd-service): Change indentation.
[requirement]: Add user-processes.
[documentation]: Change name to Power Profiles Daemon.

(power-profiles-daemon-service-type)
[description]: Change name to Power Profiles Daemon.

Change-Id: Ibbd06cf1fbadd812ad3f0eac92b9772e3387f875
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Dariqq 2024-07-18 19:28:06 +00:00 committed by Ludovic Courtès
parent ad09bf9638
commit f0543c5b6d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -52,14 +52,15 @@ (define (power-profiles-daemon-shepherd-service config)
(match-record
config <power-profiles-daemon-configuration>
(power-profiles-daemon)
(list (shepherd-service
(provision '(power-profiles-daemon))
(requirement '(dbus-system))
(documentation "Run the power-profiles-daemon.")
(start #~(make-forkexec-constructor
(list #$(file-append power-profiles-daemon
"/libexec/power-profiles-daemon"))))
(stop #~(make-kill-destructor))))))
(list
(shepherd-service
(provision '(power-profiles-daemon))
(requirement '(user-processes dbus-system))
(documentation "Run the Power Profiles Daemon.")
(start #~(make-forkexec-constructor
(list #$(file-append power-profiles-daemon
"/libexec/power-profiles-daemon"))))
(stop #~(make-kill-destructor))))))
(define %power-profiles-daemon-activation
#~(begin
@ -83,7 +84,7 @@ (define power-profiles-daemon-service-type
(service-extension activation-service-type
(const %power-profiles-daemon-activation))))
(default-value (power-profiles-daemon-configuration))
(description "Run the power-profiles-daemon"))))
(description "Run the Power Profiles Daemon"))))