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

13 lines
305 B
Django/Jinja

[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