[Unit]
Description=Prometheus SLURM Exporter

[Service]
Environment="PATH={{ _slurm_path }}:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
ExecStart=/usr/bin/prometheus-slurm-exporter --listen-address=0.0.0.0:{{ prometheus['slurm_exporter_port'] }}
Restart=always
RestartSec=15

[Install]
WantedBy=multi-user.target

