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.timer11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/prometheus-borgmatic-exporter.timer b/contrib/prometheus-borgmatic-exporter.timer
new file mode 100644
index 0000000..61fa6a8
--- /dev/null
+++ b/contrib/prometheus-borgmatic-exporter.timer
@@ -0,0 +1,11 @@
+[Unit]
+Description=Run Borgmatic Prometheus metrics exporter daily
+After=network.target
+
+[Timer]
+OnCalendar=daily
+AccuracySec=1h
+Persistent=true
+
+[Install]
+WantedBy=timers.target