Deluge sur Debian 10

Au préalable dans sources.list :

deb http://httpredir.debian.org/debian buster main
deb http://httpredir.debian.org/debian buster-updates main
deb http://security.debian.org buster/updates main

Ensuite :

apt update && apt upgrade
apt install deluged deluge-console

groupadd deluge
adduser --system  --gecos "Deluge Service" --disabled-password --group deluge

mkdir /var/lib/deluge
chown -R deluge:deluge /var/lib/deluge

su --shell /bin/bash --login deluge
deluged
deluge-console 

--> config -s allow_remote True
--> CTRL + C

ps aux | grep -i deluge
exit

Ensuite dans /etc/systemd/system/deluged.service :

[Unit]
Description=Deluge Bittorrent Client Daemon
Documentation=man:deluged
After=network-online.target

[Service]
Type=simple
User=deluge
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

Après :

systemctl start deluged
systemctl enable deluged
Install the Deluge Client

 

apt install deluge-web

Dans /etc/systemd/system/deluge-web.service :

[Unit]
Description=Deluge Bittorrent Client Web Interface
After=network-online.target

[Service]
Type=simple

User=deluge
Group=deluge
UMask=027

ExecStart=/usr/bin/deluge-web

Restart=on-failure

[Install]
WantedBy=multi-user.target

Après :

systemctl start deluge-web
systemctl enable /etc/systemd/system/deluge-web.service

 

Sources :