diff --git a/templates/etc/systemd/system/pve_sd.service.j2 b/templates/etc/systemd/system/pve_sd.service.j2 index f7497a8..7c84f14 100644 --- a/templates/etc/systemd/system/pve_sd.service.j2 +++ b/templates/etc/systemd/system/pve_sd.service.j2 @@ -10,7 +10,7 @@ After=local-fs.target Type=oneshot EnvironmentFile=/etc/sysconfig/pve_sd User={{ pve_sd_system_user }} -Group={{ pve_sd_system_user_group }} +Group={{ pve_sd_system_group }} WorkingDirectory={{ pve_sd_output_file | dirname }} ExecStart=/usr/local/bin/prometheus-pve-sd