mirror of
https://github.com/erpalma/throttled.git
synced 2026-01-23 00:50:31 +01:00
This maintains consistency with the install.sh script by using the virtualenv that the script sets up. The original version was using a different interpreter and complained about missing imports. Additionally, the new shebang now points to the correct openrc-run executable. These were the only changes needed for this script to work on Gentoo.
6 lines
192 B
Plaintext
6 lines
192 B
Plaintext
#!/sbin/openrc-run
|
|
command="/opt/throttled/venv/bin/python3 /opt/throttled/throttled.py"
|
|
pidfile=${pidfile-/var/run/throttled.pid}
|
|
description="Stop Intel throttling"
|
|
command_background="yes"
|