Browse Source

Point systemd service at correct script location

cryobry 3 years ago
parent
commit
d214954a98
1 changed files with 1 additions and 1 deletions
  1. 1 1
      systemd/lenovo_fix.service

+ 1 - 1
systemd/lenovo_fix.service

@@ -3,7 +3,7 @@ Description=Stop Intel throttling
 
 
 [Service]
 [Service]
 Type=simple
 Type=simple
-ExecStart=/opt/lenovo_fix/venv/bin/python3 /opt/lenovo_fix/lenovo_fix.py
+ExecStart=/usr/bin/throttled --conf /etc/throttled.conf
 # Setting PYTHONUNBUFFERED is necessary to see the output of this service in the journal
 # Setting PYTHONUNBUFFERED is necessary to see the output of this service in the journal
 Environment=PYTHONUNBUFFERED=1
 Environment=PYTHONUNBUFFERED=1