mirror of
https://github.com/bertptrs/vimconfig.git
synced 2025-12-25 20:40:32 +01:00
Improved cleanup handling.
This commit is contained in:
@@ -5,3 +5,5 @@ Description=Clean up locally built pikaur packages
|
||||
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
|
||||
ExecStart=/usr/bin/paccache -c %h/.cache/pacman/pkgs -r --nocolor -v
|
||||
ExecStart=/usr/bin/paccache -c %h/.cache/pacman/pkgs -r --nocolor -v -u -k0
|
||||
|
||||
@@ -4,6 +4,7 @@ Description=Cleanup of temporary files
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/systemd-tmpfiles --root=%h --clean %h/.config/tmpfiles/tmpfiles.conf
|
||||
ExecStart=/usr/bin/find %h/.cache/pacman/sources -type f -maxdepth 1 -delete
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
@@ -2,5 +2,4 @@
|
||||
e /.cache/spotify - - - 30d -
|
||||
e /.cache/chromium - - - 30d -
|
||||
e /.cache/mozilla - - - 30d -
|
||||
e /.cache/pacman/sources - - - 30d -
|
||||
e /Downloads - - - 7d -
|
||||
|
||||
Reference in New Issue
Block a user