Skip to content

Instantly share code, notes, and snippets.

@scholzj
Created December 28, 2016 21:48
Show Gist options
  • Save scholzj/29a6c9a12074309063fb1243dd5b2d91 to your computer and use it in GitHub Desktop.
Save scholzj/29a6c9a12074309063fb1243dd5b2d91 to your computer and use it in GitHub Desktop.
CPu Throttling service - /etc/systemd/system/temp-throttle.service
[Unit]
Description=Temp Trhottle
[Service]
Type=simple
Restart=always
ExecStart=/root/temp-throttle/temp_throttle.sh 90
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment