aboutsummaryrefslogtreecommitdiff
path: root/deploy/blind-uploader-watcher.timer
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/blind-uploader-watcher.timer')
-rw-r--r--deploy/blind-uploader-watcher.timer12
1 files changed, 12 insertions, 0 deletions
diff --git a/deploy/blind-uploader-watcher.timer b/deploy/blind-uploader-watcher.timer
new file mode 100644
index 0000000..d076334
--- /dev/null
+++ b/deploy/blind-uploader-watcher.timer
@@ -0,0 +1,12 @@
+[Unit]
+Description=Run the Private Drop upload notifier every 5 minutes
+
+[Timer]
+# Fixed wall-clock slots keep consecutive 5-minute scan windows aligned, so an
+# upload is reported once. Keep this in sync with SCAN_INTERVAL_SECONDS.
+OnCalendar=*:0/5
+AccuracySec=1s
+Persistent=false
+
+[Install]
+WantedBy=timers.target