forked from ISTI-ansible-roles/ansible-roles
18 lines
401 B
Django/Jinja
18 lines
401 B
Django/Jinja
[Unit]
|
|
Description=node_exporter - Prometheus exporter for machine metrics.
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=on-failure
|
|
|
|
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
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=prometheus_node_exporter.service
|
|
|