summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2021-04-11 10:18:24 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-04-15 20:05:23 +0200
commita454686ba90c398dae121bd5ee5ee53453497fed (patch)
treedd10976b91f8fb4eb698fbaccd2031df9355f0d2 /app-metrics
parentdev-lang/julia: remove unused patch (diff)
downloadgentoo-a454686ba90c398dae121bd5ee5ee53453497fed.tar.gz
gentoo-a454686ba90c398dae121bd5ee5ee53453497fed.tar.bz2
gentoo-a454686ba90c398dae121bd5ee5ee53453497fed.zip
app-metrics/node_exporter: remove unused file
Closes: https://github.com/gentoo/gentoo/pull/20330 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-metrics')
-rw-r--r--app-metrics/node_exporter/files/node_exporter-1.initd23
1 files changed, 0 insertions, 23 deletions
diff --git a/app-metrics/node_exporter/files/node_exporter-1.initd b/app-metrics/node_exporter/files/node_exporter-1.initd
deleted file mode 100644
index 083cba9cddd4..000000000000
--- a/app-metrics/node_exporter/files/node_exporter-1.initd
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2016-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-description="Prometheus machine metrics exporter"
-pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
-user=${user:-${RC_SVCNAME}}
-group=${group:-${RC_SVCNAME}}
-
-command="/usr/bin/node_exporter"
-command_args="${command_args:---collector.textfile.directory=/var/lib/node_exporter/}"
-command_background="true"
-start_stop_daemon_args="--user ${user} --group ${group} \
- --stdout /var/log/node_exporter/${RC_SVCNAME}.log \
- --stderr /var/log/node_exporter/${RC_SVCNAME}.log"
-
-depend() {
- after net
-}
-
-start_pre() {
- checkpath -q -d -m 0755 -o ${user}:${group} /var/log/node_exporter
-}