dotfiles/services/.config/systemd/user/mbsync.service
Marty Oehme ff2cbe7e2d
mail: Rename mailbox syncing script
Renamed script to sync local mbox directory with remote from `mail-check`
to `sync-mail`. Changed necessary integrations accordingly (neomutt and
system service).
2022-12-08 13:43:43 +01:00

9 lines
325 B
Desktop File

[Unit]
Description=Mailbox synchronization service
Wants=network-online.target gpg-agent.socket
After=network.target network-online.target dbus.socket gpg-agent.socket
[Service]
Type=oneshot
# workaround to allow relative executable invocation (i.e. current users' home dir)
ExecStart=/bin/bash -c '%h/.local/bin/sync-mail'