mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +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
|
||||
# -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 "To kill the process manually, run ./kill.sh"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user