Torrent streaming server.
Watch torrents online.
Install guide of TorrServer for DietPi on RaspberryPi 4.
Based on https://forumtv.site/threads/torrserver-ustanovka-v-ubuntu-linux-mint-linux-torrserve-client-ustanovka-v-android-tv-android.789/
- create a directory for TorrServer
mkdir /opt/torrserver
- change owner to user/group dietpi
chown -R dietpi:dietpi /opt/torrserver
- download TorrServer
wget https://github.com/YouROK/TorrServer/releases/latest/download/TorrServer-linux-arm7 -O /opt/torrserver/torrserver
- add execute permission
chmod o+x /opt/torrserver/torrserver
- create a service file
echo -e '[Unit]\nDescription=torrserver\nWants=network-online.target\nAfter=network-online.target\n\n[Service]\nType=simple\nNonBlocking=true\nWorkingDirectory=/opt/torrserver\nExecStart=/opt/torrserver/torrserver --p 8090\nRestart=on-failure\nRestartSec=30\n\n[Install]\nWantedBy=multi-user.target' | sudo tee /etc/systemd/system/torrserver.service > /dev/null
- export some variable
export GODEBUG=madvdontneed=1
- reload systemctl daemon
systemctl daemon-reload
- create initial config database and start TorrServer
touch /opt/torrserver/config.db
chmod 777 /opt/torrserver/config.db
systemctl start torrserver
- Test it open browser: http://YOUR-DIETPI-IP:8090/
- check TorrServer status
systemctl status torrserver
- If it works good enable service to start on boot
systemctl enable torrserver