aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/cpupower.service
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2020-11-03 17:22:33 +0100
committerJan200101 <sentrycraft123@gmail.com>2020-12-05 19:40:07 +0100
commit341c2b7474ae9534963c9001cae5b8e6ecefe0f2 (patch)
treede02864eb15585e56915d9e9c987c3675fa4f4ff /SOURCES/cpupower.service
parent7fa28673e01cd07016a83be8169a0bd46ba63a04 (diff)
downloadkernel-fsync-341c2b7474ae9534963c9001cae5b8e6ecefe0f2.tar.gz
kernel-fsync-341c2b7474ae9534963c9001cae5b8e6ecefe0f2.zip
kernel 5.8.17
Diffstat (limited to 'SOURCES/cpupower.service')
-rw-r--r--SOURCES/cpupower.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/SOURCES/cpupower.service b/SOURCES/cpupower.service
index e69de29..5f10ab7 100644
--- a/SOURCES/cpupower.service
+++ b/SOURCES/cpupower.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Configure CPU power related settings
+After=syslog.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+EnvironmentFile=/etc/sysconfig/cpupower
+ExecStart=/usr/bin/cpupower $CPUPOWER_START_OPTS
+ExecStop=/usr/bin/cpupower $CPUPOWER_STOP_OPTS
+
+[Install]
+WantedBy=multi-user.target