Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,24 +52,23 @@ feat: Once program is started, it is now possible to adjust max and
/tmp/temp_throttle/low_temp
/tmp/temp_throttle/max_temp

How to use
=============

#To install and use with systemd:

To install and use with systemd:

$ sudo cp temp_throttle.sh /usr/local/bin/
$ sudo cp temp_throttle.sh /usr/local/bin/

Modify temp_throttle.service to suit your situation.

$ sudo cp temp_throttle.service /etc/systemd/system

$ sudo systemctl enable temp_throttle

$ sudo systemctl start temp_throttle
$ sudo cp temp_throttle.service /etc/systemd/system
$ sudo systemctl enable temp_throttle
$ sudo systemctl start temp_throttle

To stop service:

$ sudo systemctl stop temp_throttle
$ sudo systemctl stop temp_throttle

To disable:

$ sudo systemctl disable temp_throttle
$ sudo systemctl disable temp_throttle