Skip to content

Commit

Permalink
acct-user/logcheck: adding systemd use flag; add myself as maintainer
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Foti <[email protected]>
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
MocioF authored and thesamesam committed Jul 27, 2023
1 parent 3f03496 commit b5e4326
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,16 @@ EAPI=7
inherit acct-user

DESCRIPTION="User for app-admin/logcheck"
IUSE="systemd"

ACCT_USER_GROUPS=( "logcheck" )
ACCT_USER_ID="284"

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
}
9 changes: 8 additions & 1 deletion acct-user/logcheck/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<maintainer type="person" proxied="yes">
<email>[email protected]</email>
<name>Giuseppe Foti</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>[email protected]</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

0 comments on commit b5e4326

Please sign in to comment.