app-metrics/node_exporter: Add systemd-patched ebuild fpr version 0.18.1.

Package-Manager: Portage-2.3.76, Repoman-2.3.16
This commit is contained in:
Manuel Friedli 2019-11-10 23:04:16 +01:00
parent 363a4203e3
commit 11c2cbc03c
7 changed files with 117 additions and 0 deletions

View file

@ -0,0 +1,15 @@
Index: node_exporter-0.18.1/src/github.com/prometheus/node_exporter/examples/systemd/node_exporter.service
===================================================================
--- node_exporter-0.18.1.orig/src/github.com/prometheus/node_exporter/examples/systemd/node_exporter.service
+++ node_exporter-0.18.1/src/github.com/prometheus/node_exporter/examples/systemd/node_exporter.service
@@ -3,8 +3,8 @@ Description=Node Exporter
[Service]
User=node_exporter
-EnvironmentFile=/etc/sysconfig/node_exporter
-ExecStart=/usr/sbin/node_exporter $OPTIONS
+EnvironmentFile=/etc/sysconfig/node_exporter/sysconfig.node_exporter
+ExecStart=/usr/bin/node_exporter $OPTIONS
[Install]
WantedBy=multi-user.target