From f7246e814551864ccf4729dde68bb2287b777f3a Mon Sep 17 00:00:00 2001 From: Luis Guilherme Coelho Date: Wed, 24 Jul 2024 21:12:05 -0300 Subject: [PATCH] services: pm: Remove `-n` flag from thinkfan forkexec-constructor --- radix/services/pm.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/radix/services/pm.scm b/radix/services/pm.scm index bb93510..d4d54e3 100644 --- a/radix/services/pm.scm +++ b/radix/services/pm.scm @@ -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.")))