From 2d4e646c0c62dae7f50de64b9c67b22b978372a3 Mon Sep 17 00:00:00 2001 From: Mike Sesketcharba <60304787+MikeSesketcharba@users.noreply.github.com> Date: Tue, 13 May 2025 19:32:50 +0200 Subject: [PATCH] Update README.md Prettyfied the installation instructions --- README.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index e2dfe3b..a557c68 100644 --- a/README.md +++ b/README.md @@ -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