home · contact · privacy
Merge branch 'master' of plomlompom.com:/var/repos/config
[config] / buster / 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 "mkdir ~/rtorrent" plom
9
10 # As according to <https://unix.stackexchange.com/a/475485>
11 chmod u+s /usr/bin/screen
12 chmod 755 /var/run/screen