From 19710ce4d51e3104618716dd95b9f8bd5ea4d609 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sun, 27 Sep 2026 08:37:37 +0200 Subject: 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. --- contrib/prometheus-borgmatic-exporter.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'contrib/prometheus-borgmatic-exporter.service') diff --git a/contrib/prometheus-borgmatic-exporter.service b/contrib/prometheus-borgmatic-exporter.service index 4551d34..706a4f5 100644 --- a/contrib/prometheus-borgmatic-exporter.service +++ b/contrib/prometheus-borgmatic-exporter.service @@ -1,6 +1,7 @@ [Unit] Description=Borgmatic Prometheus metrics exporter -After=network.target +After=network-online.target +Wants=network-online.target [Service] Type=oneshot -- cgit v1.3.1