mirror of https://github.com/ceph/ceph-ansible.git
ceph-node-exporter: Fix systemd template
pull/4100/head069076b
introduced a bug in the systemd unit script template. This commit fixes the options used by the node-exporter container. Signed-off-by: Dimitri Savineau <dsavinea@redhat.com> (cherry picked from commitd0840217f3
)
parent
5e392d1a60
commit
f71e8f249f
|
@ -14,10 +14,10 @@ ExecStartPre=-/usr/bin/{{ container_binary }} rm -f node-exporter
|
|||
ExecStart=/usr/bin/{{ container_binary }} run --name=node-exporter \
|
||||
-v /proc:/host/proc:ro -v /sys:/host/sys:ro \
|
||||
--net=host \
|
||||
{{ node_exporter_container_image }}
|
||||
{{ node_exporter_container_image }} \
|
||||
--path.procfs=/host/proc \
|
||||
--path.sysfs=/host/sys \
|
||||
--no-collector.timex \
|
||||
--no-collector.timex
|
||||
ExecStop=-/usr/bin/{{ container_binary }} stop node-exporter
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
|
|
Loading…
Reference in New Issue