Automatically clear pacman cache using systemd

This commit is contained in:
ItsDrike 2022-09-14 12:20:21 +02:00
parent a6e7ddf4db
commit dad13d0ec5
No known key found for this signature in database
GPG key ID: B014E761034AF742

View 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