Oups, forgot some logstash reminiscence

This commit is contained in:
yo 2021-12-23 13:32:37 +01:00
parent ca42b01c05
commit 012f11e685

View File

@ -36,7 +36,7 @@ load_rc_config $name
: ${elasticsearch_exporter_user:="prometheus"} : ${elasticsearch_exporter_user:="prometheus"}
command="/usr/local/bin/elasticsearch_exporter" command="/usr/local/bin/elasticsearch_exporter"
command_args="--es.uri=\${elasticsearch_exporter_endpoint} --web.listen-address=\${logstash_exporter_listen} --log.level=\${logstash_exporter_log_level}" command_args="--es.uri=\${elasticsearch_exporter_endpoint} --web.listen-address=\${elasticsearch_exporter_listen} --log.level=\${elasticsearch_exporter_log_level}"
start_cmd="/usr/sbin/daemon -u ${elasticsearch_exporter_user} ${command} ${command_args}" start_cmd="/usr/sbin/daemon -u ${elasticsearch_exporter_user} ${command} ${command_args}"
run_rc_command "$1" run_rc_command "$1"