Skip to content
Snippets Groups Projects
Leonidas Spyropoulos's avatar
Leonidas Spyropoulos authored
nullglob + loop so the service doesn't fail if there are no
 /home/*/.cache/offload-build directories (slightly less efficient
 that one find call, but seems safer also in regards to ARG_MAX)
-mindepth 1 so it doesn't try to delete .cache/offload-build for users
 without any recent builds
no verbose output from rm command, otherwise we'll get 500k log lines
 the first time it runs (calculated around 75G of old tmp directories)

Signed-off-by: default avatarLeonidas Spyropoulos <artafinde@archlinux.org>
Co-authored-by: default avatarEvangelos Foutras <evangelos@foutras.com>
dbef3bc8
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name Last commit Last update
..