From b385c8f089d4105abd64d006a01cc9e516778fa0 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 17 Jan 2026 23:59:34 -0600 Subject: feat(archsetup): configure journald retention to 500MB --- archsetup | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'archsetup') diff --git a/archsetup b/archsetup index 829fa19..d7200ce 100755 --- a/archsetup +++ b/archsetup @@ -1448,6 +1448,13 @@ EOF action="silencing the unneeded and chatty watchdog module" && display "task" "$action" echo "blacklist iTCO_wdt" >/etc/modprobe.d/nowatchdog.conf || error "error" "$action" "$?" + action="configuring journald retention" && display "task" "$action" + mkdir -p /etc/systemd/journald.conf.d + cat << 'EOF' > /etc/systemd/journald.conf.d/retention.conf +[Journal] +SystemMaxUse=500M +EOF + # GRUB: reset timeouts, adjust log levels, larger menu for HiDPI screens, and show splashscreen # Note: nvme.noacpi=1 disables NVMe ACPI power management to prevent freezes on some drives. # Safe to keep on newer drives (minor power cost), remove if battery life is critical. -- cgit v1.2.3