prometheus-btrfs-textcollector.service.j2 232 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
[Unit]
Description=Prometheus btrfs Exporter

[Service]
Type=oneshot
User=node_exporter
ExecStart=/usr/local/bin/btrfs-textcollector.sh {{ prometheus_textfile_dir }}

ReadWritePaths={{ prometheus_textfile_dir }}
PrivateNetwork=true