|
|
@ -6,4 +6,4 @@ Type=oneshot |
|
|
|
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' |
|
|
|
ExecStopPost=/bin/sh -c 'if [ "$$EXIT_STATUS" = 0 ]; then rm /tmp/mailsync; else echo "" > /tmp/mailsync; fi && notifymail' |