Created
March 29, 2019 08:39
-
-
Save enly1/05a85ddfdd7d2238acb8942a7c6e43a2 to your computer and use it in GitHub Desktop.
Powertop as service for auto-tune
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat << EOF | sudo tee /etc/systemd/system/powertop.service | |
[Unit] | |
Description=PowerTOP auto tune | |
[Service] | |
Type=idle | |
Environment="TERM=dumb" | |
ExecStart=/usr/sbin/powertop --auto-tune | |
[Install] | |
WantedBy=multi-user.target | |
EOF | |
systemctl daemon-reload | |
systemctl enable powertop.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment