commit: 9b3461d8ab83d867c3a562d5dc16663f1edb55da Author: kolhell <kolspambox <AT> gmail <DOT> com> AuthorDate: Mon Mar 20 18:59:01 2023 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Wed Apr 5 11:54:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b3461d8
acct-user/deluge: add /var/lib/deluge as ACCT_USER_HOME Sets homedir for the 'deluge' user to '/var/lib/deluge' which is the default working directory for both deluged and deluge-web when started with openrc. This change makes the openrc scripts work out-of-the-box after emerging deluge. Previously users were required to manually create and set permissions for this directory and/or edit configs for deluged and deluge-web for them to be startable via openrc. Since the deluge user also writes logs to this directory by default, this solution is not always apparent to users. Closes: https://bugs.gentoo.org/828507 Signed-off-by: kolhell <kolspambox <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/30272 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> acct-user/deluge/deluge-0-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/acct-user/deluge/deluge-0-r1.ebuild b/acct-user/deluge/deluge-0-r1.ebuild index 90041a5c4ee5..328da7731618 100644 --- a/acct-user/deluge/deluge-0-r1.ebuild +++ b/acct-user/deluge/deluge-0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2020 Gentoo Authors +# Copyright 2019-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -8,5 +8,6 @@ inherit acct-user DESCRIPTION="user for deluge" ACCT_USER_ID=454 ACCT_USER_GROUPS=( deluge ) +ACCT_USER_HOME=/var/lib/deluge acct-user_add_deps
