summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-metrics/process-exporter/files/process-exporter.initd')
-rw-r--r--app-metrics/process-exporter/files/process-exporter.initd8
1 files changed, 8 insertions, 0 deletions
diff --git a/app-metrics/process-exporter/files/process-exporter.initd b/app-metrics/process-exporter/files/process-exporter.initd
new file mode 100644
index 000000000000..d739825ecdfc
--- /dev/null
+++ b/app-metrics/process-exporter/files/process-exporter.initd
@@ -0,0 +1,8 @@
+#!/sbin/openrc-run
+
+description="Process Exporter for Prometheus"
+command=/usr/bin/process-exporter
+command_args="--config.path /etc/process-exporter/all.yaml
+ --web.listen-address=:9256 ${COMMAND_ARGS}"
+command_background=yes
+pidfile=/var/run/process-exporter.pid