9 lines
380 B
SYSTEMD
9 lines
380 B
SYSTEMD
|
[Unit]
|
||
|
Description=Collect local x509 certificate metrics for prometheus-node-exporter
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
EnvironmentFile=/etc/default/prometheus-node-exporter-local_x509
|
||
|
Environment=TMPDIR=/var/lib/prometheus/node-exporter
|
||
|
ExecStart=/bin/bash -c "/usr/share/prometheus-node-exporter-collectors/local_x509.sh $ARGS | sponge /var/lib/prometheus/node-exporter/local_x509.prom"
|