diff options
Diffstat (limited to 'isync/.config/systemd')
-rw-r--r-- | isync/.config/systemd/user/mbsync.service | 8 | ||||
-rw-r--r-- | isync/.config/systemd/user/mbsync.timer | 10 |
2 files changed, 18 insertions, 0 deletions
diff --git a/isync/.config/systemd/user/mbsync.service b/isync/.config/systemd/user/mbsync.service new file mode 100644 index 0000000..7fc2821 --- /dev/null +++ b/isync/.config/systemd/user/mbsync.service @@ -0,0 +1,8 @@ +[Unit] +Description=Mailbox synchronization service + +[Service] +Type=oneshot +ExecStart=/usr/bin/mbsync -Va +StandardOutput=syslog +StandardError=syslog diff --git a/isync/.config/systemd/user/mbsync.timer b/isync/.config/systemd/user/mbsync.timer new file mode 100644 index 0000000..7c3c751 --- /dev/null +++ b/isync/.config/systemd/user/mbsync.timer @@ -0,0 +1,10 @@ +[Unit] +Description=Mailbox synchronization timer + +[Timer] +OnCalendar=*:0/5 +Persistent=true +Unit=mbsync.service + +[Install] +WantedBy=timers.target |