dotfiles/dot_config/systemd/user/mbsync.service

12 lines
366 B
SYSTEMD

[Unit]
Description=Mailbox synchronization service
After=network.target network-online.target dbus.socket mount-veracrypt@gnupg.service
# we need gpg keys which are stored in a Veracrypt volume
Requires=mount-veracrypt@gnupg.service
[Service]
Type=oneshot
# use override here for xdg awareness
ExecStart=%h/.bin/mbsync -a
ExecStartPost=%h/.bin/mu-index-emacs-maybe