From 6edbc8dadeaa020d93182bee47bac807e7cb6a3a Mon Sep 17 00:00:00 2001 From: Raphael Dannecker Date: Thu, 9 Nov 2023 13:55:22 +0100 Subject: [PATCH] nicelevel 19 for ctorrents --- roles/lmn_vm/files/linbo-torrenthelper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/lmn_vm/files/linbo-torrenthelper.sh b/roles/lmn_vm/files/linbo-torrenthelper.sh index 8f6d4f1..8c5f2a1 100755 --- a/roles/lmn_vm/files/linbo-torrenthelper.sh +++ b/roles/lmn_vm/files/linbo-torrenthelper.sh @@ -25,7 +25,7 @@ OPTIONS="$OPTIONS $torrent" while true; do #$SUDO /usr/bin/ctorrent $OPTIONS || exit 1 - /usr/bin/ctorrent $OPTIONS || exit 1 + nice -n 20 /usr/bin/ctorrent $OPTIONS || exit 1 # hash check only on initial start, add -f parameter echo "$OPTIONS" | grep -q ^"-f " || OPTIONS="-f $OPTIONS" done