Page 1 of 1

Deluge Web not working using the script from official forum

Posted: Mon Jun 15, 2020 3:44 pm
by djarash3000
Hi there,

I cannot get the Deluge web to start working with this code. If I remove ' -d ' then it works.

Code: Select all

[Unit]
Description=Deluge Bittorrent Client Web Interface
Documentation=man:deluge-web
After=network-online.target deluged.service
Wants=deluged.service

[Service]
Type=simple
UMask=000

ExecStart=/usr/bin/deluge-web -c "/home/pi/hdd1/Deluge/.config"

Restart=on-failure

[Install]
WantedBy=multi-user.target


Re: Deluge Web not working using the script from official forum

Posted: Wed Jun 17, 2020 6:38 am
by eld
Ubuntu 18.04, what I have

Code: Select all

[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 -d

Restart=on-failure

[Install]
WantedBy=multi-user.target
According to the man page

Code: Select all

       -d, --do-not-daemonize
              Do not daemonize (fork) this process
So removing the -d really should not matter in this case. Should also be less of a thing as time goes on.