prometheus-btrfs-textcollector.service.j2 288 Bytes
Newer Older
1
2
[Unit]
Description=Prometheus btrfs Exporter
3
4
Wants=network-online.target
After=network-online.target
5
6
7
8
9
10
11
12

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

ReadWritePaths={{ prometheus_textfile_dir }}
PrivateNetwork=true