Add new acct-user/beszel-agent with access to the docker group
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Manuel Friedli <manuel@fritteli.ch>
This commit is contained in:
parent
bb6ab87a26
commit
c7e383aa20
4 changed files with 43 additions and 0 deletions
19
acct-user/beszel-agent/beszel-agent-0-r1.ebuild
Normal file
19
acct-user/beszel-agent/beszel-agent-0-r1.ebuild
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Copyright 2019-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="User for the Beszel monitoring agent"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="docker"
|
||||
|
||||
ACCT_USER_ID=-1
|
||||
ACCT_USER_GROUPS=( beszel )
|
||||
|
||||
pkg_setup() {
|
||||
use docker && ACCT_USER_GROUPS+=( docker )
|
||||
}
|
||||
|
||||
acct-user_add_deps
|
||||
Loading…
Add table
Add a link
Reference in a new issue