You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
453 B
24 lines
453 B
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit acct-user
|
|
|
|
DESCRIPTION="User for app-admin/logcheck"
|
|
IUSE="systemd"
|
|
|
|
ACCT_USER_GROUPS=( "logcheck" )
|
|
ACCT_USER_ID="284"
|
|
|
|
RDEPEND="systemd? ( acct-group/systemd-journal )"
|
|
|
|
acct-user_add_deps
|
|
|
|
pkg_setup() {
|
|
# Allow the 'logcheck' user to view the systemd journal.
|
|
if use systemd; then
|
|
ACCT_USER_GROUPS+=( systemd-journal )
|
|
fi
|
|
}
|