aboutsummaryrefslogtreecommitdiffstats
path: root/system/cpupower-rt.service
diff options
context:
space:
mode:
Diffstat (limited to 'system/cpupower-rt.service')
-rw-r--r--system/cpupower-rt.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/cpupower-rt.service b/system/cpupower-rt.service
new file mode 100644
index 0000000..aa7eda4
--- /dev/null
+++ b/system/cpupower-rt.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Apply cpupower configuration
+ConditionKernelCommandLine=systemd.setenv=REALTIME=true
+After=cpupower.service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/lib/systemd/scripts/cpupower-rt
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target