summaryrefslogtreecommitdiff
blob: f25eadc2a11faa54d6e35cd12d187f7075e21131 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/sbin/openrc-run
# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

description="Process Exporter for Prometheus"
command=/usr/bin/process-exporter
command_args="--config.path /etc/process-exporter/all.yaml
	${COMMAND_ARGS}"
command_background=yes
error_log=/var/log/process-exporter/${RC_SVCNAME}.log
output_log=/var/log/process-exporter/${RC_SVCNAME}.log
pidfile=/var/run/${RC_SVCNAME}.pid