diff --git a/start-cpulimit.sh b/start-cpulimit.sh index 308df68..ab11edc 100755 --- a/start-cpulimit.sh +++ b/start-cpulimit.sh @@ -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