commit: c9ba8b6b5ced84a7e32f9a4bc9c3932fc115ed57
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 17 18:01:29 2025 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 17 18:13:34 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9ba8b6b
app-metrics/mongodb_exporter: install systemd unit file
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-metrics/mongodb_exporter/mongodb_exporter-0.43.1.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app-metrics/mongodb_exporter/mongodb_exporter-0.43.1.ebuild
b/app-metrics/mongodb_exporter/mongodb_exporter-0.43.1.ebuild
index 08ca1b99ba6c..99a59f0222cf 100644
--- a/app-metrics/mongodb_exporter/mongodb_exporter-0.43.1.ebuild
+++ b/app-metrics/mongodb_exporter/mongodb_exporter-0.43.1.ebuild
@@ -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