app-metrics/mongodb_exporter: install systemd unit file

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin 2025-01-17 20:01:29 +02:00
parent 0bd75c6a2a
commit c9ba8b6b5c
No known key found for this signature in database
GPG Key ID: 02A0AF503D120504

View File

@ -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