home · contact · privacy
Add experimental seedbox setup.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 11 Oct 2020 17:23:46 +0000 (19:23 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 11 Oct 2020 17:23:46 +0000 (19:23 +0200)
buster/apt-mark/seedbox [new file with mode: 0644]
buster/setup_scripts/setup_seedbox.sh [new file with mode: 0644]

diff --git a/buster/apt-mark/seedbox b/buster/apt-mark/seedbox
new file mode 100644 (file)
index 0000000..37b941e
--- /dev/null
@@ -0,0 +1,8 @@
+# needed for rtorrent config setup
+curl
+# needed for torrenting
+rtorrent
+# needed for torrenting session
+screen
+# needed for upload/download
+rsync
diff --git a/buster/setup_scripts/setup_seedbox.sh b/buster/setup_scripts/setup_seedbox.sh
new file mode 100644 (file)
index 0000000..a79870e
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+./install_for_target.sh seedbox
+
+# 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 "mkdir ~/rtorrent" plom