chg systemd elasticsearch
This commit is contained in:
@@ -4,7 +4,7 @@ After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/prometheus-elasticsearch-exporter {% if prometheus_elasticsearch_user is defined %}--es.uri="http://{{ prometheus_elasticsearch_user }}:{{ prometheus_elasticsearch_password }}@localhost:9200"{% endif %}
|
||||
ExecStart=/usr/local/bin/prometheus-elasticsearch-exporter --es.uri="http://{% if prometheus_elasticsearch_user is defined %}{{ prometheus_elasticsearch_user }}:{{ prometheus_elasticsearch_password }}@{% endif %}localhost:9200"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user