aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--temp-control.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/temp-control.service b/temp-control.service
new file mode 100644
index 0000000..ef32fae
--- /dev/null
+++ b/temp-control.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Automatic CPU throttling
+
+[Service]
+User=root
+WorkingDirectory=/
+ExecStart=temp_throttle 65
+Restart=always
+
+[Install]
+WantedBy=multi-user.target