Package: qbittorrent-nox
X-Debbugs-Cc: [email protected]
Version: 4.6.6-1
Severity: important
Tags: patch
Dear Maintainer,

[email protected] fails to start with the following log:

Aug 28 12:43:09 testing systemd[1]: Started [email protected] - qBittorrent-nox service for user user. Aug 28 12:43:09 testing qbittorrent-nox[97]: Could not create required directory '/.cache/qBittorrent' Aug 28 12:43:09 testing systemd[1]: [email protected]: Main process exited, code=killed, status=6/ABRT Aug 28 12:43:09 testing systemd[1]: [email protected]: Failed with result 'signal'.

I fixed it (temporarily) by adding the following line to /usr/lib/systemd/system/[email protected] , right after the User=%i line:

SetLoginEnvironment=true

The option SetLoginEnvironment is "Added in [systemd] version 255." , so it is relatively recent change: https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#SetLoginEnvironment=

Please include this line in systemd service file.

Tagged as patch since it's one-line-insert.

Best regards,
Ognyan

Reply via email to