Skip to content

Commit

Permalink
Remember to inherit systemd
Browse files Browse the repository at this point in the history
  • Loading branch information
FireBurn committed Oct 18, 2016
1 parent 0b4bf46 commit 9a0d4ab
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app-admin/filebeat-bin/filebeat-bin-5.0.0_rc1.ebuild
Expand Up @@ -4,6 +4,7 @@

EAPI=6

inherit eutils systemd user
MY_PN=${PN/-bin/}
MY_PV="${PV/_/-}"
MY_P=${MY_PN}-${MY_PV}
Expand All @@ -19,6 +20,12 @@ KEYWORDS=""

QA_PREBUILT="usr/bin/filebeat"

pkg_setup() {
enewgroup ${MY_PN}
enewuser ${MY_PN} -1 /bin/bash /var/lib/${MY_PN} ${MY_PN}
esethome ${MY_PN} /var/lib/${MY_PN}
}

src_unpack() {
if use amd64; then
S="${WORKDIR}/${MY_P}-linux-x86_64"
Expand Down

0 comments on commit 9a0d4ab

Please sign in to comment.