chg systemd elasticsearch
This commit is contained in:
1 parent
57e6341eac
commit
cd40fb0c9d
1 file changed
+1
-1
@@ -4,7 +4,7 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
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]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
Reference in new issue
Block a user