1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 12:30:32 +01:00

Use default method of cleaning up user tmpfiles

This commit is contained in:
2022-08-25 11:03:30 +02:00
parent 45b1a34b18
commit ccaff56e93
6 changed files with 7 additions and 34 deletions

View File

@@ -1,9 +0,0 @@
[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
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

View File

@@ -1,9 +0,0 @@
[Unit]
Description=Periodically clean pikaur pkgs
[Timer]
Persistent=True
OnCalendar=weekly
[Install]
WantedBy=timers.target

View File

@@ -1,9 +0,0 @@
[Unit]
Description=Cleanup of temporary files
[Service]
Type=oneshot
ExecStart=/bin/systemd-tmpfiles --root=%h --clean %h/.config/tmpfiles/tmpfiles.conf
[Install]
WantedBy=default.target

View File

@@ -1,5 +0,0 @@
#Type Path Mode UID GID Age Argument
e /.cache/spotify - - - 30d -
e /.cache/chromium - - - 30d -
e /.cache/mozilla - - - 30d -
e /Downloads - - - 7d -

View File

@@ -0,0 +1,6 @@
#Type Path Mode UID GID Age Argument
e %C/spotify - - - 30d -
e %C/chromium - - - 30d -
e %C/mozilla - - - 30d -
e %C/pacman - - - 30d -
e %h/Downloads - - - 7d -