aboutsummaryrefslogtreecommitdiff
path: root/contrib/prometheus-borgmatic-exporter.timer
diff options
context:
space:
mode:
authorDennis Fink2026-09-30 18:50:01 +0200
committerDennis Fink2026-09-30 18:50:01 +0200
commit138074a6a1148fd40b1d48d85f76b762dcb7ec5f (patch)
tree7cc24ed80d45ca86061e41ea14e784854f8056f7 /contrib/prometheus-borgmatic-exporter.timer
parentdfad705061e40e1564ff9dff6b8ec8d6465fcf1a (diff)
downloadprometheus-borgmatic-exporter-138074a6a1148fd40b1d48d85f76b762dcb7ec5f.tar.gz
prometheus-borgmatic-exporter-138074a6a1148fd40b1d48d85f76b762dcb7ec5f.zip
fix(systemd): retry failed exporter runs
Retry transient exporter failures up to five times while avoiding retries for invalid command-line usage. Tighten the service sandbox with filesystem protection, required address families, and a corrected capability set, and leave activation solely to the timer unit.
Diffstat (limited to '')
-rw-r--r--contrib/prometheus-borgmatic-exporter.timer2
1 files changed, 0 insertions, 2 deletions
diff --git a/contrib/prometheus-borgmatic-exporter.timer b/contrib/prometheus-borgmatic-exporter.timer
index 951a774..7c2c2d5 100644
--- a/contrib/prometheus-borgmatic-exporter.timer
+++ b/contrib/prometheus-borgmatic-exporter.timer
@@ -1,7 +1,5 @@
[Unit]
Description=Run Borgmatic Prometheus metrics exporter daily
-After=network-online.target
-Wants=network-online.target
[Timer]
OnCalendar=daily