Merge upstream

This commit is contained in:
cryobry
2020-11-09 10:48:40 -05:00
parent 302702efe3
commit 7ac6c775a6
10 changed files with 91 additions and 31 deletions

6
systemd/lenovo_fix.service Normal file → Executable file
View File

@@ -1,13 +1,11 @@
[Unit]
Description=Stop Intel throttling
Description=Stop Intel throttling
[Service]
Type=simple
ExecStart=/usr/bin/throttled --conf /etc/throttled.conf
ExecStart=/opt/lenovo_fix/venv/bin/python3 /opt/lenovo_fix/lenovo_fix.py
# Setting PYTHONUNBUFFERED is necessary to see the output of this service in the journal
Environment=PYTHONUNBUFFERED=1
StandardOutput=syslog
StandardError=syslog
[Install]
WantedBy=multi-user.target