services: pm: Remove `-n` flag from thinkfan forkexec-constructor

main
Luis Guilherme Coelho 2024-07-24 21:12:05 -03:00
parent 095bcb82b7
commit f7246e8145
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 5 additions and 5 deletions

View File

@ -26,7 +26,7 @@
"Configuration file to use.") "Configuration file to use.")
(log-file (log-file
(string "/var/log/thinkfan.log") (string "/var/log/thinkfan.log")
"File where thinkfan writes its log to.") "File where thinkfan writes its log to.")
(extra-options (extra-options
(list-of-strings '()) (list-of-strings '())
"This option provides an escape hatch for the user to provide "This option provides an escape hatch for the user to provide
@ -42,7 +42,7 @@ arbitrary command-line arguments to thinkfan as a list of strings."))
(requirement '(user-processes)) (requirement '(user-processes))
(start #~(make-forkexec-constructor (start #~(make-forkexec-constructor
(list (string-append #$thinkfan "/sbin/thinkfan") (list (string-append #$thinkfan "/sbin/thinkfan")
"-n" #$@extra-options #$@extra-options
"-c" #$config-file) "-c" #$config-file)
#:log-file #$log-file #:log-file #$log-file
#:pid-file #$pid-file)) #:pid-file #$pid-file))
@ -65,6 +65,6 @@ arbitrary command-line arguments to thinkfan as a list of strings."))
thinkfan-shepherd-service) thinkfan-shepherd-service)
(service-extension etc-service-type (service-extension etc-service-type
thinkfan-modprobe-etc-service))) thinkfan-modprobe-etc-service)))
(default-value (thinkfan-configuration)) (default-value (thinkfan-configuration))
(description (description
"Adjust fan level according to configured temperature limits."))) "Adjust fan level according to configured temperature limits.")))