GNU bug report logs -
#68012
[PATCH] services: Add thinkfan service.
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
lgcoelho--- via Guix-patches via <guix-patches <at> gnu.org> writes:
> (define-configuration/no-serialization thinkfan-configuration
> + (thinkfan
> + (package thinkfan)
> + "Thinkfan package to be used.")
> (pid-file
> (string "/var/run/thinkfan.pid")
> "Where to store the PID file.")
> @@ -491,17 +494,16 @@ (define-configuration/no-serialization thinkfan-configuration
>
> (define thinkfan-shepherd-service
> (match-record-lambda <thinkfan-configuration>
> - (pid-file config-file log-file extra-options)
> + (thinkfan pid-file config-file log-file extra-options)
> (list (shepherd-service
> (provision '(thinkfan))
> (documentation
> "Adjust fan level according to configured temperature limits.")
> (requirement '(user-processes))
> (start #~(make-forkexec-constructor
> - (list (string-append #$thinkfan-next
> - "/sbin/thinkfan")
> - "-n" #$@extra-options
> - "-c" #$config-file)
> + (list (string-append #$thinkfan "/sbin/thinkfan")
> + "-n" #$@extra-options
> + "-c" #$config-file)
That's a good idea, but can you squash this with the first commit?
Best,
--
Josselin Poiret
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 1 year and 154 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.