aboutsummaryrefslogtreecommitdiffstats
path: root/.config/systemd/system/mbsync@.timer
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2022-03-16 15:19:23 +0100
committerDavid Runge <dave@sleepmap.de>2022-03-16 15:19:23 +0100
commite45f5d7531cc0c95b0b5c120dba3c18b2a7d0a35 (patch)
tree502bd61f6ab6596700224c92f21849ea7586a599 /.config/systemd/system/mbsync@.timer
parent5949d84b3f0f5c40828a8879da04ad60800f2335 (diff)
downloaddotfiles-e45f5d7531cc0c95b0b5c120dba3c18b2a7d0a35.tar.gz
dotfiles-e45f5d7531cc0c95b0b5c120dba3c18b2a7d0a35.tar.bz2
dotfiles-e45f5d7531cc0c95b0b5c120dba3c18b2a7d0a35.tar.xz
dotfiles-e45f5d7531cc0c95b0b5c120dba3c18b2a7d0a35.zip
mbsync: Add systemd system service and timer
.config/systemd/system/mbsync@.service: Add a systemd system service that is supposed to rely on SetCredentialEncrypted to retrieve a given user's mails. .config/systemd/system/mbsync@.timer: Run the accompanying mbsync@.service every 5 minutes.
Diffstat (limited to '.config/systemd/system/mbsync@.timer')
-rw-r--r--.config/systemd/system/mbsync@.timer9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/systemd/system/mbsync@.timer b/.config/systemd/system/mbsync@.timer
new file mode 100644
index 0000000..d794a4b
--- /dev/null
+++ b/.config/systemd/system/mbsync@.timer
@@ -0,0 +1,9 @@
+[Unit]
+Description=Mailbox synchronization timer for %i
+
+[Timer]
+OnBootSec=2m
+OnUnitActiveSec=5m
+
+[Install]
+WantedBy=timers.target