role service-prometheus: add missing node_exporter_default_opts to systemd unit
This commit is contained in:
parent
bed80f79ca
commit
8c8039b8b6
1 changed files with 2 additions and 2 deletions
|
@ -9,9 +9,9 @@ User={{ prometheus_user }}
|
||||||
Group={{ prometheus_group }}
|
Group={{ prometheus_group }}
|
||||||
|
|
||||||
{% if node_exporter_opts is defined %}
|
{% if node_exporter_opts is defined %}
|
||||||
ExecStart={{ node_exporter_daemon_dir }}/node_exporter {{ node_exporter_opts }}
|
ExecStart={{ node_exporter_daemon_dir }}/node_exporter {{ node_exporter_default_opts }} {{ node_exporter_opts }}
|
||||||
{% else %}
|
{% else %}
|
||||||
ExecStart={{ node_exporter_daemon_dir }}/node_exporter
|
ExecStart={{ node_exporter_daemon_dir }}/node_exporter {{ node_exporter_default_opts }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue