Package: deluge-web
Version: 2.0.3-3.1
Severity: normal
X-Debbugs-Cc: j.andra...@gmail.com

Dear Maintainer,

the deluge-web systemd script that is shipped with Debian Bullseye 
(deluge-web 2.0.3-3.1) does not properly start the service in its 
current state (likely due to changes in deluge-web itself). 

The current systemd configuration uses Type=simple the ExecStart that
can be seen in the excerpt below:

-----------------
[Unit]
Description=Deluge Bittorrent Client Web Interface
Documentation=man:deluge-web
After=network-online.target deluged.service
Wants=deluged.service
[Service]
Type=simple
User=debian-deluged
Group=debian-deluged
UMask=027
# This 5 second delay is necessary on some systems
# to ensure deluged has been fully started
ExecStartPre=/bin/sleep 5
ExecStart=/usr/bin/deluge-web
Restart=on-failure
[Install]
WantedBy=multi-user.target
----------------

This combination results in the binary not starting properly.  This can
be easily fixed by adding the '-d' flag to the ExecStart command,
resulting in:

ExecStart=/usr/bin/deluge-web -d

Other options might be possible, such as changing the Type of the
service, but I am not sure which approach would be preferable as the
default choice for the package.

Given that the systemd configuration exists, probably issues #966287 and
#927197 can be considered as closed.

Thank you very much,
Best Regards,
Jonas.

-- System Information:
Debian Release: 11.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.11.22-2-pve (SMP w/6 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, 
TAINT_OOT_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages deluge-web depends on:
ii  deluge-common  2.0.3-3.1
ii  python3        3.9.2-3
ii  python3-mako   1.1.3+ds1-2

deluge-web recommends no packages.

deluge-web suggests no packages.

-- no debconf information

Reply via email to