services: pm: Remove `-n` flag from thinkfan forkexec-constructor
parent
095bcb82b7
commit
f7246e8145
|
@ -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.")))
|
||||||
|
|
Loading…
Reference in New Issue