-
Notifications
You must be signed in to change notification settings - Fork 0
Install and configure Deluge bitTorrent client
Volodymyr Huz edited this page Nov 2, 2018
·
1 revision
Install Deluge
sudo apt-get install deluged
sudo apt-get install deluge-console
Run Deluge to create configuration files
deluged
sudo pkill deluged
Configure Deluge access rights with your Raspberry Pi user and password
nano ~/.config/deluge/auth
#user:password:level
pi:raspberry:10
Run Deluge console to configure network access
deluged
deluge-console
config -s allow_remote True
config allow_remote
exit
sudo pkill deluged
Add user pi into deluge users group
sudo adduser --system --gecos "Deluge Service" --disabled-password --group --home /var/lib/deluge deluge
sudo adduser pi deluge
Configure Deluge to work as daemon service
sudo update-rc.d deluge-daemon remove
sudo nano /etc/systemd/system/deluged.service
[Unit]
Description=Deluge Bittorrent Client Daemon
Documentation=man:deluged
After=network-online.target
[Service]
Type=simple
User=osmc
Group=deluge
UMask=007
ExecStart=/usr/bin/deluged -d
Restart=on-failure
# Time to wait before forcefully stopped.
TimeoutStopSec=300
[Install]
WantedBy=multi-user.target
sudo nano /etc/default/deluged
ENABLE_DELUGED=1
sudo systemctl enable deluged
sudo systemctl start deluged
sudo systemctl status deluged