home · contact · privacy
To status archive setup script, add mirroring from old IP.
[config] / stretch / setup_scripts / setup_seedbox.sh
1 #!/bin/sh
2 set -e
3
4 ./install_for_target.sh seedbox
5
6 # As according to <https://rtorrent-docs.readthedocs.io/en/latest/cookbook.html#modernized-configuration-template>
7 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
8 su -lc "echo 'pieces.hash.on_completion.set = no' >> ~/.rtorrent.rc" plom
9 su -lc "mkdir ~/rtorrent" plom
10
11 # As according to <https://unix.stackexchange.com/a/475485>
12 chmod u+s /usr/bin/screen
13 chmod 755 /var/run/screen