Remote Torrent Server with Deluge Web & Systemd

The Deluge torrent client can be run headless which is useful for downloading on a remote media server.

Install deluge & deluge-web

sudo apt install deluge deluged deluge-web

Systemd Services

/etc/systemd/system/deluged.service

[Unit]
Description=Deluge Torrent Server

[Service]
Type=simple
User=austin
Environment=
WorkingDirectory=/home/austin/
ExecStart=/usr/bin/deluged --do-not-daemonize
Restart=always

[Install]
WantedBy=multi-user.target

/etc/systemd/system/delugeweb.service

[Unit]
Description=Deluge Torrent Server

[Service]
Type=simple
User=austin
Environment=
WorkingDirectory=/home/austin/
ExecStart=/usr/bin/deluge-web
Restart=always

[Install]
WantedBy=multi-user.target

Starting the Services

sudo systemctl enable deluged.service
sudo systemctl start deluged.service
sudo systemctl enable delugeweb.service
sudo systemctl start delugeweb.service

Using Deluge Web UI

Open the web client:

http://MY_SERVER_IP:8112

The default password is ‘deluge’

Auto-connect of Web UI to Daemon

Modify ~/.config/deluge/web.conf and set “default_daemon” to the hash found in ~/.config/deluge/hostlist.conf.1.2

I assume you need to manually connect once to populate hostlist.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s