forked from ISTI-ansible-roles/ansible-roles
18 lines
397 B
Django/Jinja
18 lines
397 B
Django/Jinja
[Unit]
|
|
Description=haproxy_exporter - Prometheus exporter for haproxy metrics and stats.
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=on-failure
|
|
|
|
User={{ prometheus_h_e_user }}
|
|
Group={{ prometheus_h_e_user }}
|
|
|
|
ExecStart={{ prometheus_h_e_cmd }} {{ prometheus_h_e_opts }} {{ prometheus_h_e_additional_opts }}
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=prometheus_haproxy_exporter.service
|
|
|