1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

update pacman cache in background

This commit is contained in:
Ryan Kes 2019-03-17 17:08:42 +01:00
parent ac0b528c95
commit 35609bca5d
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,8 @@
[Unit]
Description=Update Pacman Cache
[Service]
ExecStart=yay -Sy
[Install]
WantedBy=default.target

View File

@ -0,0 +1,9 @@
[Unit]
Description=Run update-pacman-cache every 15m
[Timer]
OnBootSec=300m
OnUnitActiveSec=15m
[Install]
WantedBy=timers.target