1 # Copyright 2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Git repository hosting user"
11 REQUIRED_USE="^^ ( gitea gitolite )"
14 ACCT_USER_HOME_OWNER=git:git
15 ACCT_USER_HOME_PERMS=750
16 ACCT_USER_SHELL=/bin/sh
17 ACCT_USER_GROUPS=( git )
23 ACCT_USER_HOME=/var/lib/gitea
24 elif use gitolite; then
25 ACCT_USER_HOME=/var/lib/gitolite
27 die "Incorrect USE flag combination"