mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
app-metrics/mongodb_exporter: install systemd unit file
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
parent
0bd75c6a2a
commit
c9ba8b6b5c
@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
inherit go-module systemd
|
||||
|
||||
# update these on every bump
|
||||
BRANCH='tags/v0.43.1^0'
|
||||
@ -41,6 +41,7 @@ src_install() {
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
systemd_dounit .scripts/systemd/${PN}.service
|
||||
|
||||
keepdir /var/log/mongodb_exporter
|
||||
fowners ${PN}:${PN} /var/log/mongodb_exporter
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user