mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
arch-audit hung as it was started before there was a working internet connection. To work around this issue, add proper Wants/After targets for network-online.target and for the rebuilderd textcollector let it start after rebuilderd.service is "online".
13 lines
288 B
Django/Jinja
13 lines
288 B
Django/Jinja
[Unit]
|
|
Description=Prometheus btrfs Exporter
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=node_exporter
|
|
ExecStart=/usr/local/bin/btrfs-textcollector.sh {{ prometheus_textfile_dir }}
|
|
|
|
ReadWritePaths={{ prometheus_textfile_dir }}
|
|
PrivateNetwork=true
|