commit:     b4b46207763db7aa02ecf1c6da7afd379fb8db95
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Wed Jul 31 18:17:18 2019 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Jul 31 18:24:30 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4b46207

app-metrics/pushgateway: remove unused files

Closes: https://github.com/gentoo/gentoo/pull/12589
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-metrics/pushgateway/files/pushgateway.confd   | 14 --------------
 app-metrics/pushgateway/files/pushgateway.initd   | 19 -------------------
 app-metrics/pushgateway/files/pushgateway.service | 16 ----------------
 3 files changed, 49 deletions(-)

diff --git a/app-metrics/pushgateway/files/pushgateway.confd 
b/app-metrics/pushgateway/files/pushgateway.confd
deleted file mode 100644
index de9ef483723..00000000000
--- a/app-metrics/pushgateway/files/pushgateway.confd
+++ /dev/null
@@ -1,14 +0,0 @@
-# -log.format value
-#      If set use a syslog logger or JSON logging. Example: 
logger:syslog?appname=bob&local=7 or logger:stdout?json=true. Defaults to 
stderr.
-# -log.level value
-#      Only log messages with the given severity or above. Valid levels: 
[debug, info, warn, error, fatal].
-# -persistence.file string
-#      File to persist metrics. If empty, metrics are only kept in memory.
-# -persistence.interval duration
-#      The minimum interval at which to write out the persistence file. 
(default 5m0s)
-# -web.listen-address string
-#      Address to listen on for the web interface, API, and telemetry. 
(default ":9091")
-# -web.telemetry-path string
-#      Path under which to expose metrics. (default "/metrics")
-
-#command_args="-web.listen-address localhost:9091 
-persistence.file=/var/lib/${RC_SVCNAME}/persistence.gob"

diff --git a/app-metrics/pushgateway/files/pushgateway.initd 
b/app-metrics/pushgateway/files/pushgateway.initd
deleted file mode 100644
index a187e57897e..00000000000
--- a/app-metrics/pushgateway/files/pushgateway.initd
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Prometheus push acceptor for ephemeral and batch jobs"
-pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
-user=${user:-${RC_SVCNAME}}
-group=${group:-${RC_SVCNAME}}
-
-command="/usr/bin/pushgateway"
-command_args="${command_args:--web.listen-address localhost:9091 
-persistence.file=/var/lib/${RC_SVCNAME}/persistence.gob}"
-command_background="true"
-start_stop_daemon_args="--user ${user} --group ${group} \
-       --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \
-       --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
-
-depend() {
-       need net
-}

diff --git a/app-metrics/pushgateway/files/pushgateway.service 
b/app-metrics/pushgateway/files/pushgateway.service
deleted file mode 100644
index 3915fdb5b33..00000000000
--- a/app-metrics/pushgateway/files/pushgateway.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=Prometheus exporter for ephemereal jobs
-Documentation=https://prometheus.io/docs/instrumenting/pushing/
-After=network-online.target
-
-[Service]
-User=pushgateway
-Restart=on-failure
-Environment=PUSHGATEWAY_ARGS="-web.listen-address localhost:9091 
--persistence.file=/var/lib/pushgateway/persistence.gob"
-ExecStart=/usr/bin/pushgateway $PUSHGATEWAY_ARGS
-ExecReload=/bin/kill -HUP $MAINPID
-TimeoutStopSec=20s
-SendSIGKILL=no
-
-[Install]
-WantedBy=multi-user.target

Reply via email to