From aaeeedadf2d245ea2a691d781dec47a1ee3a9ef0 Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 25 Sep 2015 20:25:07 -0700 Subject: [PATCH] start-cpulimit: pass command line options to ./pylink --- start-cpulimit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-cpulimit.sh b/start-cpulimit.sh index ab11edc..5c0914d 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 ./pylink + 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