From 7f29a1e519d51934ecf86ddd6fc7d080b2eaaf91 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sun, 30 May 2021 14:59:12 +0700 Subject: Set up mbsync --- debian/.config/systemd/user/mbsync-primary.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 debian/.config/systemd/user/mbsync-primary.service (limited to 'debian/.config/systemd/user/mbsync-primary.service') diff --git a/debian/.config/systemd/user/mbsync-primary.service b/debian/.config/systemd/user/mbsync-primary.service new file mode 100644 index 0000000..8ce0e6f --- /dev/null +++ b/debian/.config/systemd/user/mbsync-primary.service @@ -0,0 +1,12 @@ +[Unit] +Description=Synchronize IMAP and MailDir for primary account +Documentation=man:mbsync(1) +ConditionPathExists=%h/.mbsyncrc +After=network.target + +[Service] +ExecStart=/usr/bin/mbsync primary +Type=oneshot + +[Install] +WantedBy=default.target -- cgit 1.4.1