diff --git a/site-modules/profile/templates/pve-exporter/prometheus-pve-exporter.service.erb b/site-modules/profile/templates/pve-exporter/prometheus-pve-exporter.service.erb index 7ee82d1f..7ca27890 100644 --- a/site-modules/profile/templates/pve-exporter/prometheus-pve-exporter.service.erb +++ b/site-modules/profile/templates/pve-exporter/prometheus-pve-exporter.service.erb @@ -1,10 +1,12 @@ [Unit] Description=Proxmox VE Prometheus Exporter After=network.target Wants=network.target + [Service] Restart=on-failure WorkingDirectory=/tmp -ExecStart=/usr/bin/pve_exporter <%= @config_file %> +ExecStart=/usr/bin/pve_exporter --no-collector.config <%= @config_file %> + [Install] WantedBy=multi-user.target