diff --git a/root/usr/lib/systemd/system/paccache.timer b/root/usr/lib/systemd/system/paccache.timer new file mode 100644 index 0000000..8423e18 --- /dev/null +++ b/root/usr/lib/systemd/system/paccache.timer @@ -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