aboutsummaryrefslogtreecommitdiff
path: root/powertop.service
diff options
context:
space:
mode:
Diffstat (limited to 'powertop.service')
-rw-r--r--powertop.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/powertop.service b/powertop.service
new file mode 100644
index 0000000..2cabbbf
--- /dev/null
+++ b/powertop.service
@@ -0,0 +1,15 @@
+# /lib/systemd/system/
+# /etc/systemd/system/
+# /etc/systemd/system/multi-user.target.wants/
+[Unit]
+Description=Powertop tunings
+
+[Service]
+Type=oneshot
+RemainAfterExit=no
+ExecStart=/sbin/powertop --auto-tune
+# "powertop --auto-tune" still needs a terminal for some reason. Possibly a bug?
+Environment="TERM=xterm"
+
+[Install]
+WantedBy=multi-user.target