aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/notmuch.timer
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-11-21 16:01:42 +0000
committerMatthew Lemon <matt@matthewlemon.com>2022-11-21 16:01:42 +0000
commit448b5c72d33e8d21dd3b8a9c8880daa1d3fa14d5 (patch)
tree7b606e7d3f4628b37918321ccb13e5f28a2b9810 /systemd/notmuch.timer
parentac946c68f8b55d2962d11b301ed4734db8b5bd3f (diff)
added systemd timers for notmuch new
Diffstat (limited to 'systemd/notmuch.timer')
-rw-r--r--systemd/notmuch.timer12
1 files changed, 12 insertions, 0 deletions
diff --git a/systemd/notmuch.timer b/systemd/notmuch.timer
new file mode 100644
index 0000000..6bb5de3
--- /dev/null
+++ b/systemd/notmuch.timer
@@ -0,0 +1,12 @@
+# must be symlinked from ~/.config/systemd/user
+[Unit]
+Description=notmuch timer
+
+[Timer]
+# run 5m after boot
+OnBootSec=6m
+# then every hour
+OnUnitActiveSec=1m
+
+[Install]
+WantedBy=timers.target