You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
265 B
INI
8 lines
265 B
INI
3 years ago
|
[Unit]
|
||
|
Description=Collect apt metrics for prometheus-node-exporter
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
Environment=TMPDIR=/var/lib/prometheus/node-exporter
|
||
|
ExecStart=/bin/bash -c "/usr/share/prometheus-node-exporter/apt.sh | sponge /var/lib/prometheus/node-exporter/apt.prom"
|