mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-23 23:40:51 +00:00
feat: add mbsync service every 5 minutes
This commit is contained in:
parent
1be27fff16
commit
b926a7c2b4
7
Services/mbsync.service
Normal file
7
Services/mbsync.service
Normal file
@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
Description=Mailbox synchronization service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/mbsync -Va
|
||||
ExecStartPost=/home/bruno/dotfiles/mutt/notmuch-hook.sh
|
10
Services/mbsync.timer
Normal file
10
Services/mbsync.timer
Normal file
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Mailbox synchronization timer
|
||||
|
||||
[Timer]
|
||||
OnBootSec=2m
|
||||
OnUnitActiveSec=5m
|
||||
Unit=mbsync.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Reference in New Issue
Block a user