summaryrefslogtreecommitdiffstats
path: root/cpufreq.service
diff options
context:
space:
mode:
authorKamil Rytarowski <kamil@mageia.org>2012-04-19 00:17:35 +0000
committerKamil Rytarowski <kamil@mageia.org>2012-04-19 00:17:35 +0000
commitace003818893bd1ec750e1d7cacc2dccd6343ded (patch)
tree569d728fe60d325cd7874fcdb457039e521ea631 /cpufreq.service
parentdae9046549885512b5dc412b9afb041cc4068ac6 (diff)
downloadcpufreq-ace003818893bd1ec750e1d7cacc2dccd6343ded.tar
cpufreq-ace003818893bd1ec750e1d7cacc2dccd6343ded.tar.gz
cpufreq-ace003818893bd1ec750e1d7cacc2dccd6343ded.tar.bz2
cpufreq-ace003818893bd1ec750e1d7cacc2dccd6343ded.tar.xz
cpufreq-ace003818893bd1ec750e1d7cacc2dccd6343ded.zip
- adapt script for SystemD
Diffstat (limited to 'cpufreq.service')
-rw-r--r--cpufreq.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/cpufreq.service b/cpufreq.service
new file mode 100644
index 0000000..92111c0
--- /dev/null
+++ b/cpufreq.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=A script for an init system to set CPU frequency settings
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/cpufreq start
+ExecStop=/usr/bin/cpufreq stop
+ExecReload=/usr/bin/cpufreq reload
+StandardOutput=null
+
+[Install]
+WantedBy=multi-user.target