How autostart daemon

General support for problems installing or using Deluge
Post Reply
Bananaman
New User
New User
Posts: 3
Joined: Sat Dec 26, 2020 8:56 pm

How autostart daemon

Post by Bananaman »

Hi, I'm I happy Deluge Windows user for many years and I'm moving to Ubuntu

Now I managed to get it working in 18.04 server and then upgraded to 20.04 server
(bit of a detour but installing in 20.04 fails for me)
Deluge 2.0.3, Libtorrent 1.1.13.0 and python 3.8

Going to the Web UI works and I can start the daemon from there.
The I can download and manage plugins, all is good.

But if I manually start the daemon (sudo deluged -d) I don't see my download and plugins, it's pretty dead
How do I (auto) start the daemon from the CLI ?

Edit
without sudo it works.. Kind of obvious of course
The service was missing the username

sudo nano /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
sudo systemctl enable --now deluged.service


I have one more question
Is it possible to have Deluge run in Ubuntu and use the Windows GUI to manage it remotely ?

edit2
Ok restart in thin client mode. I does see the daemon and version
And I managed to set the auth file

All is good now, thx
Post Reply