mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
upgrades: Clean apt cache every week
Closes #973 Signed-off-by: Veiko Aasa <veiko17@disroot.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
04b9538deb
commit
b668e62f6f
@ -6,3 +6,6 @@
|
||||
APT::Update::Post-Invoke-Success {
|
||||
"/usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/gdbus call --system --dest org.freedombox.Service --object-path /org/freedombox/Service/PackageHandler --timeout 10 --method org.freedombox.Service.PackageHandler.CacheUpdated 2> /dev/null > /dev/null; /bin/echo > /dev/null";
|
||||
};
|
||||
|
||||
// Clean apt cache every 7 days
|
||||
APT::Periodic::CleanInterval "7";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user