throttled/systemd/lenovo_fix.service

14 lines
339 B
SYSTEMD
Raw Normal View History

2018-04-02 14:51:06 +02:00
[Unit]
2018-07-20 10:17:06 +02:00
Description=Stop Intel throttling
2018-04-02 14:51:06 +02:00
[Service]
Type=simple
2018-04-20 10:46:00 +02:00
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
2018-08-18 18:11:22 +02:00
StandardOutput=syslog
StandardError=syslog
2018-04-02 14:51:06 +02:00
[Install]
2018-04-20 10:46:00 +02:00
WantedBy=multi-user.target