home · contact · privacy
Add screen fix.
[config] / buster / setup_scripts / setup_seedbox.sh
old mode 100644 (file)
new mode 100755 (executable)
index a79870e..32c7791
@@ -4,5 +4,9 @@ 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 "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
+
+# As according to <https://unix.stackexchange.com/a/475485>
+chmod u+s /usr/bin/screen
+chmod 755 /var/run/screen