diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-24 23:59:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-24 23:59:54 +0000 |
commit | 401101f9c8077911929d3f2b60a37098460a5d89 (patch) | |
tree | c2bef4719f6787550f0916aeaa8f4f403a9296af /app-metrics/grok_exporter/files | |
parent | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (diff) |
gentoo resync : 25.03.2022
Diffstat (limited to 'app-metrics/grok_exporter/files')
-rw-r--r-- | app-metrics/grok_exporter/files/grok_exporter.initd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app-metrics/grok_exporter/files/grok_exporter.initd b/app-metrics/grok_exporter/files/grok_exporter.initd index d38d0af63ab3..bd25c5170e9a 100644 --- a/app-metrics/grok_exporter/files/grok_exporter.initd +++ b/app-metrics/grok_exporter/files/grok_exporter.initd @@ -3,13 +3,13 @@ # Distributed under the terms of the GNU General Public License v2 description="Unstructured log data exporter for Prometheus" -config_file="${config_file:-/etc/${RC_SVCNAME}/${RC_SVCNAME}.yml}" +config_file="/etc/grok_exporter/${RC_SVCNAME}.yml" command=/usr/bin/grok_exporter command_background=yes -command_user=${RC_SVCNAME}:${RC_SVCNAME} +command_user=grok_exporter:grok_exporter pidfile=/var/run/${RC_SVCNAME}.pid -error_log="/var/log/${RC_SVCNAME}/${RC_SVCNAME}.log" -output_log="/var/log/${RC_SVCNAME}/${RC_SVCNAME}.log" +error_log="/var/log/grok_exporter/${RC_SVCNAME}.log" +output_log="/var/log/grok_exporter/${RC_SVCNAME}.log" required_files="${config_file}" command_args="-config \"${config_file}\"" |