summaryrefslogtreecommitdiff
path: root/tw/system/cern.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tw/system/cern.scm')
-rw-r--r--tw/system/cern.scm12
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)