mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-12 19:27:18 +00:00
Automatically clear pacman cache using systemd
This commit is contained in:
parent
a6e7ddf4db
commit
dad13d0ec5
13
root/usr/lib/systemd/system/paccache.timer
Normal file
13
root/usr/lib/systemd/system/paccache.timer
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# Clean pacman cache of old and uninstalled packages every month
|
||||||
|
# This needs to be started by systemctl stat paccache.timer
|
||||||
|
# Usage requires pacman-contrib package to be installed
|
||||||
|
|
||||||
|
[Unit]
|
||||||
|
Description=Clean-up old pacman pkg
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=monthly
|
||||||
|
Persistent=true
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in a new issue