diff --git a/prometheus-node-exporter/templates/node_exporter.systemd.j2 b/prometheus-node-exporter/templates/node_exporter.systemd.j2 index 6480623..1959372 100644 --- a/prometheus-node-exporter/templates/node_exporter.systemd.j2 +++ b/prometheus-node-exporter/templates/node_exporter.systemd.j2 @@ -5,8 +5,8 @@ After=network.target [Service] Type=simple -User={{ prometheus_user }} -Group={{ prometheus_user }} +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