prometheus/templates/systemd/prometheus-proxmox-exporter.service.j2

11 lines
443 B
Plaintext
Raw Normal View History

2023-01-27 20:34:33 +01:00
[Unit]
Description=Proxmox VE Prometheus Exporter
After=network.target
Wants=network.target
[Service]
Restart=on-failure
2024-04-24 18:11:16 +02:00
ExecStart="{{ prometheus_proxmox_venv_path | default('/opt/venv/prometheus-pve-exporter') }}"/bin/pve_exporter --config.file /etc/default/prometheus-proxmox-exporter --web.listen-address {{ prometheus_proxmox_exporter_node }}:{{ prometheus_proxmox_exporter_port | default('9221') }}
2023-01-27 20:34:33 +01:00
[Install]
WantedBy=multi-user.target