My dotfiles for my Linux rice managed with stow and make
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
358 B

Description=Mailbox synchronization service
ExecStart=/usr/bin/mbsync -c /home/micah/.config/isync/mbsyncrc -Va
ExecStartPre=/bin/sh -c 'echo "" > /tmp/mailsync'
ExecStartPost=/usr/bin/notmuch new
ExecStopPost=/bin/sh -c 'if [ "$$EXIT_STATUS" = 0 ]; then rm /tmp/mailsync; else echo "" > /tmp/mailsync; fi && notifymail'