diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/systemd/user/mbsync.service | 7 | ||||
-rw-r--r-- | .config/systemd/user/mbsync.timer | 11 |
2 files changed, 18 insertions, 0 deletions
diff --git a/.config/systemd/user/mbsync.service b/.config/systemd/user/mbsync.service new file mode 100644 index 0000000..8a26bbd --- /dev/null +++ b/.config/systemd/user/mbsync.service @@ -0,0 +1,7 @@ +[Unit] +Description=Mailbox synchronization service + +[Service] +Type=oneshot +ExecStart=/usr/bin/mbsync -Va + diff --git a/.config/systemd/user/mbsync.timer b/.config/systemd/user/mbsync.timer new file mode 100644 index 0000000..980eb22 --- /dev/null +++ b/.config/systemd/user/mbsync.timer @@ -0,0 +1,11 @@ +[Unit] +Description=Mailbox synchronization timer + +[Timer] +OnBootSec=2m +OnUnitActiveSec=5m +Unit=mbsync.service + +[Install] +WantedBy=timers.target + |