diff --git a/files/elasticsearch_exporter.in b/files/elasticsearch_exporter.in index 236205d..4af1998 100644 --- a/files/elasticsearch_exporter.in +++ b/files/elasticsearch_exporter.in @@ -36,7 +36,7 @@ load_rc_config $name : ${elasticsearch_exporter_user:="prometheus"} 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}" run_rc_command "$1"