mirror of
https://github.com/erpalma/throttled.git
synced 2026-03-01 18:53:48 +01:00
`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
12 lines
296 B
Desktop File
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
|