random-scripts/systemd/sync-mail@.service

12 lines
225 B
SYSTEMD
Raw Permalink Normal View History

2023-05-27 02:11:29 -07:00
[Unit]
Description=Sync mail with mbsync and send notifications
[Service]
Type=oneshot
ExecStart=-mbsync -a ; %h/scripts/mail/notify-mail.hy %h/.mail/%i
RuntimeMaxSec=3m
Restart=on-failure
[Install]
WantedBy=default.target