diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-06-05 17:24:05 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-06-05 17:24:05 +0200 |
commit | 4bc00c61a80e4fb21fa62b702797c9976366b923 (patch) | |
tree | f8842cea9c764f46c27c5fe429af265626ea9b06 /net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd | |
parent | app-misc/go-jira: Initial version (diff) | |
download | gentoo-4bc00c61a80e4fb21fa62b702797c9976366b923.tar.gz gentoo-4bc00c61a80e4fb21fa62b702797c9976366b923.tar.bz2 gentoo-4bc00c61a80e4fb21fa62b702797c9976366b923.zip |
net-analyzer/prometheus-node_exporter: Version bump to 0.14.0
* Rename to node_exporter
* Rename user/group to prometheus-node_exporter
* Store textfiles in /var/node_exporter/textfiles
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd')
-rw-r--r-- | net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd b/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd index 36dd35f93585..2009f854c6e1 100644 --- a/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd +++ b/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd @@ -1,18 +1,18 @@ #!/sbin/openrc-run -# Copyright 2016 Gentoo Foundation +# Copyright 2016-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 description="Prometheus machine metrics exporter" pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"} -user=${user:-prometheus-exporter} -group=${group:-prometheus-exporter} +user=${user:-${SVCNAME}} +group=${group:-${SVCNAME}} -command="/usr/bin/prometheus-node_exporter" -command_args="${command_args:--collector.textfile.directory=/etc/prometheus-exporter}" +command="/usr/bin/node_exporter" +command_args="${command_args:--collector.textfile.directory=/var/node_exporter/}" command_background="true" start_stop_daemon_args="--user ${user} --group ${group} \ - --stdout /var/log/prometheus-exporter/${SVCNAME}.log \ - --stderr /var/log/prometheus-exporter/${SVCNAME}.log" + --stdout /var/log/node_exporter/${SVCNAME}.log \ + --stderr /var/log/node_exporter/${SVCNAME}.log" depend() { need net |