diff options
Diffstat (limited to 'systemd/.config')
-rw-r--r-- | systemd/.config/systemd/user/mbsync.service | 9 | ||||
-rw-r--r-- | systemd/.config/systemd/user/mbsync.timer | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/systemd/.config/systemd/user/mbsync.service b/systemd/.config/systemd/user/mbsync.service new file mode 100644 index 0000000..b2177f4 --- /dev/null +++ b/systemd/.config/systemd/user/mbsync.service @@ -0,0 +1,9 @@ +[Unit] +Description=synchronize IMAP4 and Maildir mailboxes + +[Service] +Type=oneshot +ExecStart=/usr/bin/mbsync -aqV + +[Install] +WantedBy=default.target diff --git a/systemd/.config/systemd/user/mbsync.timer b/systemd/.config/systemd/user/mbsync.timer new file mode 100644 index 0000000..202d27f --- /dev/null +++ b/systemd/.config/systemd/user/mbsync.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Run mbsync every minute + +[Timer] +OnBootSec=1s +OnUnitActiveSec=1min + +[Install] +WantedBy=timers.target |