From 2fb0b318556ef76e184809fabaf8c8303684e6f7 Mon Sep 17 00:00:00 2001 From: cronyakatsuki <64900606+cronyakatsuki@users.noreply.github.com> Date: Sat, 5 Nov 2022 10:54:42 +0100 Subject: [PATCH] Setting better journald size settings. --- arch_install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch_install.sh b/arch_install.sh index b0c6a0d..9c26ecc 100755 --- a/arch_install.sh +++ b/arch_install.sh @@ -292,6 +292,11 @@ if [[ $oldroot_fix = "y" ]]; then chmod +x /usr/lib/systemd/system-shutdown/nvidia.shutdown fi +printf '%s\n' "Setting better journald sizes" +printf '%s\n' "[Journal] +SystemMaxUse=250M +SystemMaxFileSize=50M" > /etc/systemd/journald.conf.d/size.conf + printf '%s\n' "Installing basic packages and enabling basic services" pacman -S --noconfirm zsh p7zip unzip xclip base-devel \ pacman-contrib wireless_tools man pcmanfm fzf git android-file-transfer \