throttled/systemd/lenovo_fix.service
Florian Klink ad880babf5
lenovo_fix.service: Don't use deprecated logging options anymore
`StandardError` and `StandardOutput` don't support `syslog` anymore (they're long gone from the systemd manpages), and since 246, are migrated to `journal` under the hood.

As `journal` is also the default, don't configure it explicitly at all.

Related: https://github.com/NixOS/nixpkgs/pull/95353
2020-08-13 18:55:22 +02:00

12 lines
296 B
Desktop File

[Unit]
Description=Stop Intel throttling
[Service]
Type=simple
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
[Install]
WantedBy=multi-user.target