diff options
author | kolhell <kolspambox@gmail.com> | 2023-03-20 14:59:01 -0400 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2023-04-05 14:54:38 +0300 |
commit | 9b3461d8ab83d867c3a562d5dc16663f1edb55da (patch) | |
tree | e8c40beb7a165b0e23704ca6c40089382910e540 /acct-user/deluge | |
parent | dev-java/tomcat-servlet-api: remove unused files (diff) | |
download | gentoo-9b3461d8ab83d867c3a562d5dc16663f1edb55da.tar.gz gentoo-9b3461d8ab83d867c3a562d5dc16663f1edb55da.tar.bz2 gentoo-9b3461d8ab83d867c3a562d5dc16663f1edb55da.zip |
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@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/30272
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'acct-user/deluge')
-rw-r--r-- | acct-user/deluge/deluge-0-r1.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
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 |