dotfiles/systemd/mbsync.service

14 lines
345 B
Desktop File

[Unit]
Description=mbsync mail synchronisation
Documentation=info:mbsync man:mbsync(1) https://isync.sourceforge.io/
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/mbsync -q -a
ExecStartPost=/usr/bin/emacsclient -equ '(mu4e-update-index)'
Restart=on-failure
[Install]
WantedBy=default.target