Fix the prometheus user in the systemd service of the haproxy exporter.

This commit is contained in:
Andrea Dell'Amico 2019-05-31 18:43:57 +02:00
parent 2f3b0add6d
commit a45761e931
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@ After=network.target
[Service] [Service]
Type=simple Type=simple
User={{ prometheus_user }} User={{ prometheus_h_e_user }}
Group={{ prometheus_user }} Group={{ prometheus_h_e_user }}
ExecStart={{ prometheus_h_e_cmd }} {{ prometheus_h_e_opts }} {{ prometheus_h_e_additional_opts }} --collector.systemd ExecStart={{ prometheus_h_e_cmd }} {{ prometheus_h_e_opts }} {{ prometheus_h_e_additional_opts }} --collector.systemd