run with low priority
This commit is contained in:
@@ -4,6 +4,9 @@ set -e
|
||||
trap 'echo "[ERROR] Error in line $LINENO when executing: $BASH_COMMAND"' ERR
|
||||
trap 'echo tar1090.sh: exiting; trap - SIGTERM; kill -- -$( ps opgid= $$ | tr -d " " ) || true; exit 0' SIGTERM SIGINT SIGHUP SIGQUIT
|
||||
|
||||
# run with lowest priority
|
||||
renice 20 $$ || true
|
||||
|
||||
RUN_DIR=$1
|
||||
SRC_DIR=$2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user