diff options
Diffstat (limited to 'nixos/.config/systemd/user/mbsync.service')
-rw-r--r-- | nixos/.config/systemd/user/mbsync.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nixos/.config/systemd/user/mbsync.service b/nixos/.config/systemd/user/mbsync.service new file mode 100644 index 0000000..55b05b0 --- /dev/null +++ b/nixos/.config/systemd/user/mbsync.service @@ -0,0 +1,12 @@ +[Unit] +Description=Synchronize IMAP and MailDir +Documentation=man:mbsync(1) +ConditionPathExists=%h/.mbsyncrc +After=network.target + +[Service] +ExecStart=/run/current-system/sw/bin/mbsync primary legacy +Type=oneshot + +[Install] +WantedBy=default.target |