[rc] add PowerTOP systemd service
authorAmin Bandali <amin@aminb.org>
Sun, 6 May 2018 05:31:37 +0000 (01:31 -0400)
committerAmin Bandali <amin@aminb.org>
Sun, 6 May 2018 05:31:37 +0000 (01:31 -0400)
rc.org

diff --git a/rc.org b/rc.org
index 687c4ab..c3692f7 100644 (file)
--- a/rc.org
+++ b/rc.org
@@ -2685,6 +2685,23 @@ polybar main &
 echo "Bars launched..."
 #+end_src
 
 echo "Bars launched..."
 #+end_src
 
+** PowerTOP
+:PROPERTIES:
+:header-args+: :tangle "/sudo::/etc/systemd/system/powertop.service"
+:END:
+
+#+begin_src conf
+[Unit]
+Description=Powertop tunings
+
+[Service]
+ExecStart=/usr/bin/powertop --auto-tune
+RemainAfterExit=true
+
+[Install]
+WantedBy=multi-user.target
+#+end_src
+
 ** ranger
 
 *** rc.conf
 ** ranger
 
 *** rc.conf