gnu: service: Fix script location for TLP shepherd service.

* gnu/services/pm.scm (tlp-shepherd-service): Fix location for "tlp" script.

Change-Id: I254437441641c96b19383e796fded82c4f6bbcb7
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Simen Endsjø 2025-02-24 23:21:06 +01:00 committed by Nicolas Goaziou
parent e08dd8c33a
commit 075fe3083b
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -448,7 +448,7 @@ shutdown on system startup."))
(define (tlp-shepherd-service config) (define (tlp-shepherd-service config)
(let* ((tlp-bin (file-append (let* ((tlp-bin (file-append
(tlp-configuration-tlp config) "/bin/tlp")) (tlp-configuration-tlp config) "/sbin/tlp"))
(tlp-action (lambda args (tlp-action (lambda args
#~(lambda _ #~(lambda _
(zero? (system* #$tlp-bin #$@args)))))) (zero? (system* #$tlp-bin #$@args))))))