Fix mbsync.service

This commit is contained in:
flyingscorpio@clevo 2023-04-07 15:40:23 +02:00
parent 87ab9b799e
commit 10cff2f40d

View file

@ -3,7 +3,8 @@ Description=Mailbox synchronization service
[Service]
Type=oneshot
ExecStart=/usr/bin/mbsync -a && find ~/.local/share/mail -type d -name new -not -empty -mmin -5 -exec notify-send {} \;
ExecStart=/usr/bin/mbsync -a
ExecStart=/usr/bin/find %h/.local/share/mail -type d -name new -not -empty -mmin -5 -exec /usr/bin/notify-send {} \;
[Install]
WantedBy=default.target