diff --git a/library/roles/prometheus-haproxy-exporter/templates/haproxy_exporter.systemd.j2 b/library/roles/prometheus-haproxy-exporter/templates/haproxy_exporter.systemd.j2 index 04ef1c28..726a6f6d 100644 --- a/library/roles/prometheus-haproxy-exporter/templates/haproxy_exporter.systemd.j2 +++ b/library/roles/prometheus-haproxy-exporter/templates/haproxy_exporter.systemd.j2 @@ -5,8 +5,8 @@ After=network.target [Service] Type=simple -User={{ prometheus_user }} -Group={{ prometheus_user }} +User={{ prometheus_h_e_user }} +Group={{ prometheus_h_e_user }} ExecStart={{ prometheus_h_e_cmd }} {{ prometheus_h_e_opts }} {{ prometheus_h_e_additional_opts }} --collector.systemd