summaryrefslogtreecommitdiffstats
path: root/cpupower.service
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@redhat.com>2011-08-17 21:18:53 -0400
committerJosh Boyer <jwboyer@redhat.com>2011-08-17 21:19:57 -0400
commit8addb5fc3a45b5b27738ae01af120a309e5a2036 (patch)
tree5034a338dcc8bea479be1085c1021279785ea54f /cpupower.service
parent1d18ad9c110cb8e042cb487094e57e2e357f2271 (diff)
downloadkernel-8addb5fc3a45b5b27738ae01af120a309e5a2036.tar.gz
kernel-8addb5fc3a45b5b27738ae01af120a309e5a2036.tar.xz
kernel-8addb5fc3a45b5b27738ae01af120a309e5a2036.zip
Create the kernel-tools package. WHEE
Diffstat (limited to 'cpupower.service')
-rw-r--r--cpupower.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/cpupower.service b/cpupower.service
new file mode 100644
index 000000000..5f10ab7ee
--- /dev/null
+++ b/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