Explorar el Código

Point systemd service at correct script location

cryobry hace 3 años
padre
commit
d214954a98
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      systemd/lenovo_fix.service

+ 1 - 1
systemd/lenovo_fix.service

@@ -3,7 +3,7 @@ Description=Stop Intel throttling
 
 [Service]
 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
 Environment=PYTHONUNBUFFERED=1