mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
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:
parent
ad09bf9638
commit
f0543c5b6d
1 changed files with 10 additions and 9 deletions
|
@ -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"))))
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue