ansible-roles/library/centos/roles/prometheus-node-exporter/templates/node_exporter.systemd.j2

13 lines
305 B
Plaintext
Raw Normal View History

2019-05-15 01:22:27 +02:00
[Unit]
Description=node_exporter - Prometheus exporter for machine metrics.
After=network.target
[Service]
Type=simple
User={{ prometheus_n_e_user }}
Group={{ prometheus_n_e_user }}
ExecStart={{ prometheus_n_e_cmd }} {{ prometheus_n_e_opts }} {{ prometheus_n_e_additional_opts }} --collector.systemd