Skip to content

Instantly share code, notes, and snippets.

@tazjin
Created February 8, 2014 19:40
Show Gist options
  • Save tazjin/8889035 to your computer and use it in GitHub Desktop.
Save tazjin/8889035 to your computer and use it in GitHub Desktop.
Systemd service for powertop auto tune
[Unit]
Description=Powertop tunings
[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=/usr/bin/powertop --auto-tune
#"powertop --auto-tune" still needs a terminal for some reason.
#Possibly a bug?
Environment="TERM=xterm"
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment