Stow restructuring
This commit is contained in:
parent
685e4dbe8b
commit
097cbd1c6d
53 changed files with 62 additions and 205 deletions
14
systemd/.config/systemd/user/mbsync.service
Normal file
14
systemd/.config/systemd/user/mbsync.service
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=mbsync mail synchronisation
|
||||
Documentation=info:mbsync man:mbsync(1) https://isync.sourceforge.io/
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/mbsync -q -a
|
||||
ExecStartPost=/usr/bin/emacsclient -equ '(mu4e-update-index)'
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
9
systemd/.config/systemd/user/mbsync.timer
Normal file
9
systemd/.config/systemd/user/mbsync.timer
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Run mbsync and mu index every five minutes
|
||||
|
||||
[Timer]
|
||||
OnBootSec=3min
|
||||
OnUnitActiveSec=5min
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Add table
Add a link
Reference in a new issue