summaryrefslogtreecommitdiff
path: root/archsetup
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-17 23:59:34 -0600
committerCraig Jennings <c@cjennings.net>2026-01-17 23:59:34 -0600
commitb385c8f089d4105abd64d006a01cc9e516778fa0 (patch)
tree4bee2e8f09e640ba678f41b239a83de960ce1846 /archsetup
parentc01aed56f58648a18ccde317d45b14e53ea753c1 (diff)
feat(archsetup): configure journald retention to 500MB
Diffstat (limited to 'archsetup')
-rwxr-xr-xarchsetup7
1 files changed, 7 insertions, 0 deletions
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.