mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
Using paccache for this which keeps up to 3 versions per package, and also instructing it to keep any packages accessed in the past 2 weeks.
12 lines
274 B
SYSTEMD
12 lines
274 B
SYSTEMD
[Unit]
|
|
Description=Clean up rebuilderd-worker chroots and cache
|
|
ConditionPathExists=/var/lib/repro
|
|
ConditionPathExists=/var/lib/rebuilderd-worker/cache
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/local/bin/clean-repro
|
|
Nice=19
|
|
IOSchedulingClass=best-effort
|
|
IOSchedulingPriority=7
|