summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahil Bhimjiani <rahil3108@gmail.com>2023-10-01 22:19:02 +0530
committerSam James <sam@gentoo.org>2023-11-23 12:38:36 +0000
commita16385bedc505baf806146be2a00411c2a513c70 (patch)
treebd067e166c8db3f6ad313fccc612d20e9737b4be /app-metrics/node_exporter/files
parentapp-metrics/node_exporter: add 1.7.0 and live (diff)
downloadgentoo-a16385bedc505baf806146be2a00411c2a513c70.tar.gz
gentoo-a16385bedc505baf806146be2a00411c2a513c70.tar.bz2
gentoo-a16385bedc505baf806146be2a00411c2a513c70.zip
app-metrics/node_exporter: drop 1.3.1, 1.4.0 & cleanup
As 1.5.0 has been stable for quite a while. [sam: Maintainer timeout after pings on IRC and in the bug.] Signed-off-by: Rahil Bhimjiani <rahil3108@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/33147 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-metrics/node_exporter/files')
-rw-r--r--app-metrics/node_exporter/files/node_exporter.initd23
-rw-r--r--app-metrics/node_exporter/files/node_exporter.service13
2 files changed, 0 insertions, 36 deletions
diff --git a/app-metrics/node_exporter/files/node_exporter.initd b/app-metrics/node_exporter/files/node_exporter.initd
deleted file mode 100644
index 3ccddf757a89..000000000000
--- a/app-metrics/node_exporter/files/node_exporter.initd
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2016-2017 Gentoo Foundation
-# 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/sbin/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
-}
diff --git a/app-metrics/node_exporter/files/node_exporter.service b/app-metrics/node_exporter/files/node_exporter.service
deleted file mode 100644
index 20eac483fc8a..000000000000
--- a/app-metrics/node_exporter/files/node_exporter.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=Node Exporter
-Wants=network-online.target
-After=network-online.target
-
-[Service]
-User=node_exporter
-Group=node_exporter
-Type=simple
-ExecStart=/usr/sbin/node_exporter
-
-[Install]
-WantedBy=multi-user.target