diff options
| author | Dennis Fink | 2026-09-27 08:37:37 +0200 |
|---|---|---|
| committer | Dennis Fink | 2026-09-27 08:37:37 +0200 |
| commit | 19710ce4d51e3104618716dd95b9f8bd5ea4d609 (patch) | |
| tree | 797ab94ec5137406a8ce593df3cc3c88c72b1cb8 /contrib/prometheus-borgmatic-exporter.timer | |
| parent | a8619c1102d2fda5c63597120bbe45c715b83167 (diff) | |
| download | prometheus-borgmatic-exporter-19710ce4d51e3104618716dd95b9f8bd5ea4d609.tar.gz prometheus-borgmatic-exporter-19710ce4d51e3104618716dd95b9f8bd5ea4d609.zip | |
fix(systemd): wait for network to be online
Ensure the exporter service and timer are started only after the network
is considered online, reducing failures when repositories require
network access.
Diffstat (limited to 'contrib/prometheus-borgmatic-exporter.timer')
| -rw-r--r-- | contrib/prometheus-borgmatic-exporter.timer | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/prometheus-borgmatic-exporter.timer b/contrib/prometheus-borgmatic-exporter.timer index 61fa6a8..951a774 100644 --- a/contrib/prometheus-borgmatic-exporter.timer +++ b/contrib/prometheus-borgmatic-exporter.timer @@ -1,6 +1,7 @@ [Unit] Description=Run Borgmatic Prometheus metrics exporter daily -After=network.target +After=network-online.target +Wants=network-online.target [Timer] OnCalendar=daily |
