publik-infra/debian/prometheus-entrouvert-expor...

7 lines
189 B
Desktop File

[Unit]
Description=Collect system metrics
[Service]
Type=oneshot
ExecStart=/bin/bash -c "/usr/bin/prometheus-system-exporter.py | sponge /var/lib/prometheus/node-exporter/entrouvert.prom"