mirror of
https://github.com/bertptrs/vimconfig.git
synced 2025-12-25 20:40:32 +01:00
Automatically clean up pikaur built pkgs.
This commit is contained in:
7
systemd/.config/systemd/user/pikaur-cleanup.service
Normal file
7
systemd/.config/systemd/user/pikaur-cleanup.service
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Clean up locally built pikaur packages
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/bin/paccache -c %h/.cache/pikaur/pkg -r --nocolor -v
|
||||||
|
ExecStart=/usr/bin/paccache -c %h/.cache/pikaur/pkg -r --nocolor -v -u -k0
|
||||||
9
systemd/.config/systemd/user/pikaur-cleanup.timer
Normal file
9
systemd/.config/systemd/user/pikaur-cleanup.timer
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Periodically clean pikaur pkgs
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
Persistent=True
|
||||||
|
OnCalendar=weekly
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
||||||
Reference in New Issue
Block a user