aboutsummaryrefslogtreecommitdiff
path: root/contrib/prometheus-borgmatic-exporter.timer
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/prometheus-borgmatic-exporter.timer')
-rw-r--r--contrib/prometheus-borgmatic-exporter.timer3
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