Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 888183

Summary: net-p2p/deluge: deluge-web.service uses incorrect environment variables
Product: Gentoo Linux Reporter: Benn Snyder <benn.snyder>
Component: Current packagesAssignee: Paolo Pedroni <paolo.pedroni>
Status: UNCONFIRMED ---    
Severity: normal CC: candrews, kuraga333, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/28852
Whiteboard:
Package list:
Runtime testing required: ---

Description Benn Snyder 2022-12-24 17:13:01 UTC
In deluge-web.service-3 it tries to use environment variables.

    ExecStart=/usr/bin/deluge-web -d -c ${DELUGED_HOME} ${DELUGED_OPTS}

But deluge-web.service.conf actually defines them as

    Environment="DELUGE_WEB_HOME=/var/lib/deluge" "DELUGE_WEB_OPTS="

This causes deluge-web.service to fail.

Reproducible: Always

Steps to Reproduce:
systemctl start deluge-web.service


Expected Results:  
    ExecStart=/usr/bin/deluge-web -d -c ${DELUGE_WEB_HOME} ${DELUGE_WEB_OPTS}
Comment 1 Lagu 2023-12-31 18:15:15 UTC
Hi, rn they change on the service file was made, but I still have exactly the same problem, like the Environment variable is not propagating to the service file.
Comment 2 Paolo Pedroni 2024-01-02 11:02:44 UTC
(In reply to Lagu from comment #1)
> Hi, rn they change on the service file was made, but I still have exactly
> the same problem, like the Environment variable is not propagating to the
> service file.

Have you run "systemctl daemon-reload" to refresh the configuration?