aboutsummaryrefslogtreecommitdiff
path: root/src/etc/systemd/system/powertop.service
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-05-03 23:16:15 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-05-03 23:17:08 -0400
commita0b1b95229c647a260c710d2f5556c0d9ff35075 (patch)
tree1c7bbd8453c5cfc76fc64361bfc8534bf78c90b9 /src/etc/systemd/system/powertop.service
parent4905d52cf59ee4f9ea5c7a90cc1b2309127aaad6 (diff)
systemctl enable moved and powertop.service added
powertop.service autotunes everything on boot, and systemctl enable had to be moved to accomodate its "late" addition.
Diffstat (limited to 'src/etc/systemd/system/powertop.service')
-rw-r--r--src/etc/systemd/system/powertop.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/etc/systemd/system/powertop.service b/src/etc/systemd/system/powertop.service
new file mode 100644
index 0000000..d9311c0
--- /dev/null
+++ b/src/etc/systemd/system/powertop.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Powertop Tuning
+
+[Service]
+Type=exec
+ExecStart=/usr/bin/powertop --auto-tune
+RemainAfterExit=true
+
+[Install]
+WantedBy=multi-user.target