services: pm: Remove `-n` flag from thinkfan forkexec-constructor
parent
095bcb82b7
commit
f7246e8145
|
@ -26,7 +26,7 @@
|
|||
"Configuration file to use.")
|
||||
(log-file
|
||||
(string "/var/log/thinkfan.log")
|
||||
"File where ‘thinkfan’ writes its log to.")
|
||||
"File where ‘thinkfan’ writes its log to.")
|
||||
(extra-options
|
||||
(list-of-strings '())
|
||||
"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))
|
||||
(start #~(make-forkexec-constructor
|
||||
(list (string-append #$thinkfan "/sbin/thinkfan")
|
||||
"-n" #$@extra-options
|
||||
#$@extra-options
|
||||
"-c" #$config-file)
|
||||
#:log-file #$log-file
|
||||
#:pid-file #$pid-file))
|
||||
|
@ -65,6 +65,6 @@ arbitrary command-line arguments to ‘thinkfan’ as a list of strings."))
|
|||
thinkfan-shepherd-service)
|
||||
(service-extension etc-service-type
|
||||
thinkfan-modprobe-etc-service)))
|
||||
(default-value (thinkfan-configuration))
|
||||
(description
|
||||
"Adjust fan level according to configured temperature limits.")))
|
||||
(default-value (thinkfan-configuration))
|
||||
(description
|
||||
"Adjust fan level according to configured temperature limits.")))
|
||||
|
|
Loading…
Reference in New Issue