prometheus/templates/systemd/prometheus-proxmox-exporter.service.j2
2024-02-15 15:57:49 +01:00

11 lines
370 B
Django/Jinja

[Unit]
Description=Proxmox VE Prometheus Exporter
After=network.target
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') }}
[Install]
WantedBy=multi-user.target