From f3d5dbd1d53f44c434200a3ab177054c49dc0014 Mon Sep 17 00:00:00 2001 From: "solen.bellouati" Date: Thu, 15 Feb 2024 14:41:19 +0100 Subject: [PATCH 1/2] pve_exporter service new syntax --- templates/systemd/prometheus-proxmox-exporter.service.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/systemd/prometheus-proxmox-exporter.service.j2 b/templates/systemd/prometheus-proxmox-exporter.service.j2 index be84082..3a3bf27 100644 --- a/templates/systemd/prometheus-proxmox-exporter.service.j2 +++ b/templates/systemd/prometheus-proxmox-exporter.service.j2 @@ -5,7 +5,6 @@ Wants=network.target [Service] Restart=on-failure -ExecStart=/usr/local/bin/pve_exporter /etc/default/prometheus-proxmox-exporter {{ prometheus_proxmox_exporter_port | default('9221') }} {{ prometheus_proxmox_exporter_node }} - +ExecStart=/usr/local/bin/pve_exporter --config.file /etc/default/prometheus-proxmox-exporter --web.listen-address {{ prometheus_proxmox_exporter_node }}:{{ prometheus_proxmox_exporter_port | default('9221') }} [Install] WantedBy=multi-user.target From 91d0d6678b54777cc03bf0ff406a5f1ad80a8288 Mon Sep 17 00:00:00 2001 From: "solen.bellouati" Date: Thu, 15 Feb 2024 15:57:49 +0100 Subject: [PATCH 2/2] pve_exporter service new syntax --- templates/systemd/prometheus-proxmox-exporter.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/systemd/prometheus-proxmox-exporter.service.j2 b/templates/systemd/prometheus-proxmox-exporter.service.j2 index 3a3bf27..d299fcd 100644 --- a/templates/systemd/prometheus-proxmox-exporter.service.j2 +++ b/templates/systemd/prometheus-proxmox-exporter.service.j2 @@ -5,6 +5,6 @@ Wants=network.target [Service] Restart=on-failure -ExecStart=/usr/local/bin/pve_exporter --config.file /etc/default/prometheus-proxmox-exporter --web.listen-address {{ prometheus_proxmox_exporter_node }}:{{ prometheus_proxmox_exporter_port | default('9221') }} +ExecStart=/usr/local/bin/pve_exporter --config.file /etc/default/prometheus-proxmox-exporter --web.listen-address {{ prometheus_proxmox_exporter_node }}:{{ prometheus_proxmox_exporter_port | default('9221') }} [Install] WantedBy=multi-user.target