nicelevel 19 for ctorrents

This commit is contained in:
Raphael Dannecker 2023-11-09 13:55:22 +01:00
parent f7c7eb1901
commit 6edbc8dade

View file

@ -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