15 lines
345 B
SYSTEMD
15 lines
345 B
SYSTEMD
|
[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
|