mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-23 10:44:09 +01:00
start-cpulimit: update binary name for f6a4503372
This commit is contained in:
parent
57da0aa3b3
commit
ed0e1e1779
@ -10,7 +10,7 @@ cd "$WRAPPER_DIR"
|
|||||||
|
|
||||||
if [[ ! -z "$(which cpulimit)" ]]; then
|
if [[ ! -z "$(which cpulimit)" ]]; then
|
||||||
# -z makes cpulimit exit when PyLink dies.
|
# -z makes cpulimit exit when PyLink dies.
|
||||||
cpulimit -l $LIMIT -z ./main.py
|
cpulimit -l $LIMIT -z ./pylink
|
||||||
echo "PyLink has been started (daemonized) under cpulimit, and will automatically be throttled if it goes over the CPU limit of ${LIMIT}%."
|
echo "PyLink has been started (daemonized) under cpulimit, and will automatically be throttled if it goes over the CPU limit of ${LIMIT}%."
|
||||||
echo "To kill the process manually, run ./kill.sh"
|
echo "To kill the process manually, run ./kill.sh"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user