diff options
author | Timo Wilken | 2023-05-05 13:54:36 +0200 |
---|---|---|
committer | Timo Wilken | 2023-05-05 13:54:36 +0200 |
commit | 1d0a7c6c673e48bd33bd094e9a7c201bf9d7cad7 (patch) | |
tree | fa0e0ad3784718748830588c4d7237318f8e1efc /tw/system | |
parent | a523ee84acf6c46b002fd95527efb9cca57ae5be (diff) |
Use make-forkexec-constructor instead of -system-
Diffstat (limited to 'tw/system')
-rw-r--r-- | tw/system/cern.scm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tw/system/cern.scm b/tw/system/cern.scm index bb08123b..c55aeb7e 100644 --- a/tw/system/cern.scm +++ b/tw/system/cern.scm @@ -170,12 +170,12 @@ (documentation "Limit CPU frequency") (provision '(cpufreq)) (one-shot? #t) - (start #~(make-system-constructor - #$(file-append cpupower "/bin/cpupower") - " frequency-set --max 3.6GHz")) - (stop #~(make-system-constructor - #$(file-append cpupower "/bin/cpupower") - " frequency-set --max 4.8GHz")) + (start #~(make-forkexec-constructor + (list #$(file-append cpupower "/bin/cpupower") + "frequency-set" "--max" "3.6GHz"))) + (stop #~(make-forkexec-constructor + (list #$(file-append cpupower "/bin/cpupower") + "frequency-set" "--max" "4.8GHz"))) (actions (list (shepherd-action (name 'current) |