summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.