aboutsummaryrefslogtreecommitdiffstats
path: root/system/cpupower-rt.service
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-03-20 02:50:44 +0100
committerDavid Runge <dave@sleepmap.de>2015-03-20 02:50:44 +0100
commitf9ac22c285ee42586375cd46b1072734856c6a0b (patch)
tree45ec64921f8ca863433405a9b7c7ed162d595914 /system/cpupower-rt.service
downloaduenv-f9ac22c285ee42586375cd46b1072734856c6a0b.tar.gz
uenv-f9ac22c285ee42586375cd46b1072734856c6a0b.tar.bz2
uenv-f9ac22c285ee42586375cd46b1072734856c6a0b.tar.xz
uenv-f9ac22c285ee42586375cd46b1072734856c6a0b.zip
cpupower-rt: Adding cpupower-rt script, configuration and service file. Meant to be used with linux-rt and setting the special boot parameter: systemd.setenv=REALTIME=true.
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