diff options
Diffstat (limited to 'app-metrics/process-exporter/files/process-exporter.initd')
-rw-r--r-- | app-metrics/process-exporter/files/process-exporter.initd | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app-metrics/process-exporter/files/process-exporter.initd b/app-metrics/process-exporter/files/process-exporter.initd index d739825ecdfc..f25eadc2a11f 100644 --- a/app-metrics/process-exporter/files/process-exporter.initd +++ b/app-metrics/process-exporter/files/process-exporter.initd @@ -1,8 +1,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 - --web.listen-address=:9256 ${COMMAND_ARGS}" + ${COMMAND_ARGS}" command_background=yes -pidfile=/var/run/process-exporter.pid +error_log=/var/log/process-exporter/${RC_SVCNAME}.log +output_log=/var/log/process-exporter/${RC_SVCNAME}.log +pidfile=/var/run/${RC_SVCNAME}.pid |