home · contact · privacy
On Seedbox setup, avoid endless hashing.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 10 Jan 2022 17:58:31 +0000 (18:58 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 10 Jan 2022 17:58:31 +0000 (18:58 +0100)
stretch/setup_scripts/setup_seedbox.sh

index 32c77916c431e2d4c8ca3d7f08c94e586e100327..a2d21877bfbaed30d46a536dba55420f4b213208 100755 (executable)
@@ -5,6 +5,7 @@ set -e
 
 # As according to <https://rtorrent-docs.readthedocs.io/en/latest/cookbook.html#modernized-configuration-template>
 su -lc "curl -Ls 'https://raw.githubusercontent.com/wiki/rakshasa/rtorrent/CONFIG-Template.md' | grep -A9999 '^######' | grep -B9999 '^### END' | sed -re \"s:/home/USERNAME:\$HOME:\" >~/.rtorrent.rc" plom
+su -lc "echo 'pieces.hash.on_completion.set = no' >> ~/.rtorrent.rc" plom
 su -lc "mkdir ~/rtorrent" plom
 
 # As according to <https://unix.stackexchange.com/a/475485>